My requirement is like that. I am not allowed toThen you can basically pick any delimiter you like, all are equally bad. Maybe it's at least safer to use a delimiter string and use String.split() instead of the tokenizer, which is preferred anyway. Or you could prefix the concatenated strings with the first texts's length and a known delimiter like ':', which is only used to recognize the leading length info in case the first text starts with a digit.
change the servlet. Now a single string is getting
passed to the servlet. so I am supposed to maintain
I'd like to vote for � It's a most under used character, and deserves to win the best delimiter award. Of course people who use AppleScript will hate you, but then they deserve some enemies.Hi Ranchers,Wrong forum. This isn't Javaranch.
What delimiter is the best?No delimiter at all, but simply using separate
parameters instead. Why don't you do that?