Subject: Trying to replace vertical pipe...
From: Paul Harvey <paul_harv_2@xxxxxxxxx>
Date: Thu, 26 Aug 2010 09:26:25 -0700 (PDT)
|
I'm sure I can't be the first to face this, but have been unable to track down a
solution...
I'm trying to replace the string "|95|" with a single character but the
"replace()" function seems to interpret the vertical bars as "or" and won't
allow it, complaining about a "zero-length string".
How would I escape |95| in order for it to be treated it as a string and enable
it to be replaced?
Thanks
Paul
|