04-08-2008, 12:10 PM
|
#3 (permalink)
|
|
The Contributor
Join Date: Apr 2008
Posts: 78
Thanks: 0
|
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.
|
|
|
|