Read the above, but as far as your example code, don't forget your 'g' at the end of your regexp so that you replace more than one "plus"...
Even better, just use the 'tr' function:$var =~ s/\+/ /g;
For the record, the pluses should be escaped by the browser into "%2B", and you should not have to worry about the user's pluses.$var =~ tr/+/ /;
In reply to RE: splitting question
by turnstep
in thread splitting question
by Eugene
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |