On Mon, 27 Dec 2004, david istermann wrote:
> What bugs me most is that in Perl there is no equivalent for PHP's str_replace:
>
> $newstr = str_replace( array('<', '>', '&'), array('<', '>',
> '&'), $oldstr);
That's really useful.
Worse than that there is no trim that would remove spaces from the
beginning and the end of a string.
Gabor