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

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

@Robo please find attached workflow
a class=“attachment” href=“//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/uipath/original/1X/2324070d1e32822f6b6670af6d10bf42826d7e8b.xaml”>Labels.xaml (7.1 KB)

What is this?

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

Is it substring function?

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.

regexCode

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?