Код: Выделить всё
String[]lines = textContent.split(System.getProperty("line.separator"));
for(String tmpLine : lines){
//do something
}
Есть ли лучшее решение для итерации по строке ?
Подробнее здесь: https://stackoverflow.com/questions/925 ... ava-string