Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Extract filename from a path

Hi folks!

Anybody knows if there is a MF to extract the filename from a path...

for example, if i have a path like:


server\filename.ext

c:filename.ext

c:\>filename.txt

i want to extract the filename: 'filename.ext' (or just, 'filename')

Thank's in advance!

Xavi.

Tags:
Former Member
Former Member replied

use function module: CH_SPLIT_FILENAME OR SPLIT_FILENAME.

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question