1. Get the index of the start of a newline in a Stringbuffer stackoverflow.comI need to get the starting position of new line when looping through a StringBuffer. Say I have the following document in a stringbuffer
New lines exist after "test", ... |