Minor formatting fixes.
This commit is contained in:
@@ -251,6 +251,7 @@ String split(String s, char parser, int index)
|
||||
String rs = "";
|
||||
int parser_cnt = 0;
|
||||
int r_from_index = 0, r_to_index = -1;
|
||||
|
||||
while (index >= parser_cnt)
|
||||
{
|
||||
r_from_index = r_to_index + 1;
|
||||
@@ -264,7 +265,9 @@ String split(String s, char parser, int index)
|
||||
return s.substring(r_from_index, r_to_index);
|
||||
}
|
||||
else
|
||||
{
|
||||
parser_cnt++;
|
||||
}
|
||||
}
|
||||
return rs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user