jcortese
Occasional contributor

Extract specific text string from a variable delimited by "\"

Hi,

Need an example of how to extract the last text string deliminted by "\" in setup.rul

Assume variable azPath = "\application\workflow\TRN\"

how to extract  the text string "TRN" from variable azPath?

AzPath could have 3, 4, 5  maybe even 6 text strings deliminted by "\".  I always need the last text string.

thanks

Joe

Labels (1)
0 Kudos
1 Reply
Siga2000
Occasional contributor

Re: Extract specific text string from a variable delimited by "\"

Hi jcortese, 

I think the String Functions documentation page could be useful to you. I'd look into the ParsePath and StrGetTokens functions. 

0 Kudos