DONE - Modified your suggestion a little to avoid IndexOutOfBounds when \n was not found.

Thanks!