You need to find the string position using STRSTR..

Joe

From: Wagner, Christoph 
Sent: Wednesday, May 25, 2011 9:59 AM
Newsgroups: public.remedy.arsystem.general
To: arslist@ARSLIST.ORG 
Subject: get a substring after the last "\" of a string

** 
Dear listers,

 

I have a question:

 

How can I get a substring after the last „\“ of a string?

 

Example:

 

What I have:

C:\folder1\folder2\folder3\folder4\file1.txt

C:\folder1\folder2\folder3\file2.txt

C:\folder1\folder2\file3.txt

 

What I want:

file1.txt

file2.txt

file3.txt

 

Anybody an idea?

 

Thanks a lot for your help

 

Regards

 

Christoph

 

_attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to