RE: Escaping pipe symbols

2003-03-17 Thread Sharpe, Cassandra
. -Cassandra -Original Message- From: Daniel F. Savarese [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 11:21 PM To: ORO Users List Subject: Re: Escaping pipe symbols In message [EMAIL PROTECTED], Shar pe, Cassandra writes: Now the text that I need to split has pipe symbols

Escaping pipe symbols

2003-03-14 Thread Sharpe, Cassandra
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

Re: Escaping pipe symbols

2003-03-14 Thread Daniel F. Savarese
In message [EMAIL PROTECTED], Shar pe, Cassandra writes: 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 don't understand the question. If