how to read a set of lines with each line having CRLF(\r\n) as delimiter using java -


using java how can read paragraph each line having delimiter crlf(\r\n). example

4\r\n this\r\n 8\r\n response\r\n

i want extract 4 , store buffer , read 8 , store paragraph. please me.

use bufferedreader.readline() read lines, or scanner if want automically parse numbers.


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -