Unable to parse variable length string separated by delimiter
- by Technext
Hi,
I have a problem with parsing a string, which consists only of directory path. For ex.
My input string is
Abc\Program Files\sample\
My output should be
Abc//Program Files//sample
The script should work for input path of any length i.e., it can contain any no. of subdirectories. (For ex., abc\temp\sample\folder\joe)
I have looked…