You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oro-user@jakarta.apache.org by "Sharpe, Cassandra" <ca...@merck.com> on 2003/03/14 22:04:57 UTC

Escaping pipe symbols

Hello,

I am using Util.split() to split a text string.  The pattern that I am using
to split the string is a pipe symbol.  So my pattern looks like this....
compiler.compile(\\|)

Now the text that I need to split has pipe symbols embedded within it.  For
example that text is ... "Word A" |" Word B"| "Word| C".  Is there a way to
escape the pipe symbol embedded within the word?  

I tried "Word\\|C", "Word\|C" and several other combinations but I am just
guessing, I don't even know if what I am trying to achieve is possible.

Thanks,

Cassandra


------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.

==============================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: oro-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: oro-user-help@jakarta.apache.org