Skip to main content
Question

How to locate object from a string

  • February 17, 2022
  • 3 replies
  • 42 views

Forum|alt.badge.img+6

Hi team ,

 

I am having one use case. In the below image I need to capture 1952 year and its in one frame.

I have did ->1) Used recorder and captured all this data and stored in a string type variable. 2) Then I used IF condition and used if variable include Scheme keyword.

 

Now how I can locate the year 1952 is located after Scheme keyword.

 

image 

Please help me.

3 replies

Forum|alt.badge.img+6

@Vikas Singh​ : If you have the text is in variable already use string operations before and after and keep scheme in before and store the output in a variable and see , if it doesn't work use scheme in after and try


  • Cadet | Tier 2
  • February 17, 2022

you can use String Before-After command. Use the word Scheme for Before and dot (.) for After


Forum|alt.badge.img+6
  • Author
  • Navigator | Tier 3
  • February 28, 2022

Thanks all