Forums Register Login

Parse * delimited string

+Pie Number of slices to send: Send
Hi,
What is the best way to parse * delimited string. I mean onto an array of strings or something.

Thanks.
+Pie Number of slices to send: Send
Anything wrong with String.split?
+Pie Number of slices to send: Send
noh tokenizer is the right thing. Thanks though
+Pie Number of slices to send: Send
No, Tokenizer is legacy code. String#split is correct. Remember the * is a metacharacter and needs to be escaped.
I'm thinking about a new battle cry. Maybe "Not in the face! Not in the face!" Any thoughts tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1298 times.
Similar Threads
Suggestions on fastest way to parse a String?
parsing comma delimited string
passing array from processAction to jsp
Returning array from applet to JavaScript
Split a String
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:33:53.