Character replacement
Posted: Thu Aug 12, 2004 5:56 am
I have a string which eventually has characters I don't want and all of these unallowed characters should be replaced by a pipe |
For example:
", "
" ,"
"| "
" |"
"\""
"\\"
These characters should be replaced by a pipe.
What ist the quickest and most effective way to do that? String fuction or RegExps?
For example:
", "
" ,"
"| "
" |"
"\""
"\\"
These characters should be replaced by a pipe.
What ist the quickest and most effective way to do that? String fuction or RegExps?