Re: [android-developers] TextUtils Split is not splitting strings based on pipe separator

2010-11-05 Thread Mark Murphy
On Fri, Nov 5, 2010 at 1:05 PM, Achie wrote: > I just found after 2 hours of debugging my code for errors that > TextUtils.split(String, expression); does not work correctly when I > use pipe "|" as the expression. Am I wrong in understanding the method > or is this a bug? > > It works fine when I

[android-developers] TextUtils Split is not splitting strings based on pipe separator

2010-11-05 Thread Achie
I just found after 2 hours of debugging my code for errors that TextUtils.split(String, expression); does not work correctly when I use pipe "|" as the expression. Am I wrong in understanding the method or is this a bug? It works fine when I give it as a pattern ie., [|]. I also tested it using a