>> Given a string that contains a directory name (e.g.,
>> "/var/www/html/files/classes/admin"), what is the best
>> way to trim all of the characters off the last instance
>> of the / character?

> listdeleteat(string, listlen(string, '/'), '/');

Or

getDirectoryFromPath(string)

Regards,
Chris Stevenson
Web Administrator
AIHW
[EMAIL PROTECTED]
61 2 6244 1029 P
61 2 6244 1299 F
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to