Minor formatting fixes.
This commit is contained in:
1 parent
c86e41b977
commit
ed8e4dd9ef
1 file changed
+3
@@ -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