This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Extract specific text string from a variable delimited by "\"
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Mar 04, 2021
08:27 PM
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
(1) Reply
Mar 10, 2021
09:21 AM
Hi jcortese,
I think the String Functions documentation page could be useful to you. I'd look into the ParsePath and StrGetTokens functions.