Hi Is there any way to read a particular word which is between two known words


#1

Hi
Is there any way to read a particular word which is between two known words with the help of subscript()?
eg If input is Name1Name ABCD Age,
I need to extract ABCD.
Note-Using Subscript only


#2

@Robo please find attached workflow
a class=“attachment” href="/uploads/uipath/original/1X/2324070d1e32822f6b6670af6d10bf42826d7e8b.xaml">Labels.xaml (7.1 KB)


#3

What is this?


#4

I didn’t found function subscript() in UiPATH, could you please tell me how to call it?

Is it substring function?


#5

Hi!

I haven’t used the subscript() function you mentioned, but I used the invoke code method and some visual basic code to get the output you wished. Here are the example pictures.

There is a simple declaration of the variables, after which the invoke code activity is used to execute the code in the other png file. The lotsOfText variable is an input argument for the invoke code activity and the wantedText comes as output and is stored in the wantedBit variable in the main workflow. Is this helpful to you?