Razzak,

Thanks for passing my solution from the other mailing list.  I had a chance to play with this
try replaceing frist two lines with:
Set VAR vfile =(SSUB(SRPL(.vFileName,'/',',',0),(ITEMCNT(SRPL(.vFileName,'/',',',0)))))
You may need to check my parenthiss as the computer I am using doesn't have RBASE loaded.  The idea to use SRPL function is both parts of the SSUB command.
Jim Bentley

"A. Razzak Memon" <[EMAIL PROTECTED]> wrote:
At 08:47 AM 9/2/2005, Jim Bentley wrote:

>Better still try the following:
>SET VAR vxxx = (SRPL(.vFileName, '/', ',', 0))
>set var vfile = (ssub(.vxxx,(itemcnt(.vFileName))))
>set var vpath = (sget(.vFileName,((SLEN(.vFileName)) - (SLEN(.vfile))),1))

Very clever approach, Jim!

Very Best R:egards,

Razzak.



Jim Bentley
American Celiac Society
[EMAIL PROTECTED]
tel: 1-504-737-3293


Click here to donate to the Hurricane Katrina relief effort.

Reply via email to