Strip part of a path

Discuss RoboTask here
Post Reply
MagicX
Posts: 7
Joined: Mon May 24, 2004 3:02 am

Strip part of a path

Post by MagicX »

What is the easiest way to strip parts of a passed path name.so /this/path/is/to/long/To_get_here/datawould need to be /To_get_here/dataThanksAlexander
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Strip part of a path

Post by Oleg »

See this example. The task extracts two last subfolders from long folder name. Original name must contain at least one subfolder. Also I can write similar basic script if needed.
Post Reply