Skip to Content
0
Former Member
Jul 24, 2008 at 01:10 PM

Splitting a filepath(along with filename) into two fields inside program

194 Views

Hi,

I need an urgent help here.

I have a selection screen parameter that has filepath+filename together (e.g.

C:\Documents and Settings\xyz\Desktop\test1.txt). So, I want to split it into 2 parts inside my program 1st for the filepath (i.e. 'C:\Documents and Settings\xyz\Desktop\') and 2nd for the filename (i.e. 'test1.txt').

Please help how to do it dynamically. I think we need to use string operators for it.

Regards,

Sanj.