I have a column of strings with the full File Path + File Name. I need to isolate specifically the File Name in the next column. Is there a way to do it?
Note: I entered the File Name manually.
Thank you all in advance!
Alex.
word(-1, :File Path, "\/" );
or
reverse(substr(reverse(:File Path),1,contains(reverse(:File Path), "\") -1 ) );
A small clarification - as a pseudo-code I'd need something like that: cut string before the first "\" when scanning the string from the right-to-left. My problem is that I can have Path and File Name of variable lengths, so, cannot use "Left" or "Right" functions with the fixed # of characters to isolate...
Oh this is beautiful! Thank you so much!