Question

Find chracter on a string variable, and select from there

  • 25 October 2022
  • 2 replies
  • 10 views

Hello, I have a String Variable that contains a route Path, for example C:\MainFolder\SubFolderExample1\FinalFolder

What I need is to find in that variable the last "\" and from there to the end assign to other variable. For Example:

 

Let´s say I have "V_Path" and "V_Out"

 

where:

 

Table 

Thanks in advance for your help!


2 replies

Reverse the string first. Then use 'extract' to get text before the first \. then reverse again.

Great!, Thanks a lot!

Reply