Monday, June 24, 2013

Java - escaping the pipe character

Use double backslash (\\)

Ex. string.split("\\|");

No comments:

Post a Comment