View Single Post
Old 04-08-2008, 12:10 PM   #3 (permalink)
benton
The Contributor
 
Join Date: Apr 2008
Posts: 78
Thanks: 0
benton is on a distinguished road
Default

Hmm, I had tried something like that, although with ltrim. Maybe I'm confused about the charlist argument. I tried
PHP Code:
ltrim($str"' '..'-') 
which seems to be the way the manual says to enter multiple characters. Is that not correct? Isn't the ' -' in yours just searching for that combination (space and dash)? I can see the code works but would like to understand the correct use of the command.
benton is offline  
Reply With Quote