Question

How to locate object from a string

  • 17 February 2022
  • 3 replies
  • 6 views

Badge +5

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

@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

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

Badge +5

Thanks all

Reply