Jim,

If I understood that correctly you try to strip the trailing backslash from a path variable ?

So my approach is :

code:
break on

$path = "c:\winnt\profiles\user\desktop\"

if substr($path,len($path),1) = '\'
$path = substr($path,1,len($path)-1)
endif

$path

get $

hth
Jochen
_________________________