Hi all, Probably a simple question but since I am a beginner :-) How can you extract a substring from a string? I would like to change an absolute path name to a relative one, e.g, /home/hans/project/fileorder/src change to: fileorder/src both are variables, Thanks, Hans.