How to filter or trim a vale?
Posted: Wed Jun 23, 2004 4:28 pm
Hi I was wondering if there is a way to remove 2 periods from a value for example:
$ex="../dir/filename"
so that you could make it look like this:
$ex="/dir/filename"
I am positive there is a simple command and thought I read about in the forums here but can't seem to find it now.
$ex="../dir/filename"
so that you could make it look like this:
$ex="/dir/filename"
I am positive there is a simple command and thought I read about in the forums here but can't seem to find it now.