Hello
i dont remember in what version uniface introduce the $itemcount , $itemnr but if these commands are available to your version you can simply translate your string in list and get the last element from list
vsFileName = "-rwxrwxr-x 1 smt2uxb smt2uxb 28560 May 13 2010 /opt/uat/eur/sources/sqr/ftp_make.sqr"
;The ; is the golden ;
vsFullPath = $ItemNr($ItemCount($Replace(vsFullPath,1,"/","·;",-1)),$Replace(vsFullPath,1,"/","·;",-1))
;Result Is :
; vsFullPath = "ftp_make.sqr"
Author: jtsagara (
jtsagara@logisoft.gr)