Thursday, October 25, 2012

Java: Split string by newline

String lines[] = currentValue.split("\\r?\\n");

No comments:

Post a Comment