0
Is there any alternative for split method in java without using any built in functions?
I have tried i dont know i got stuck somewhere ..can anyone help me please?
5 Answers
+ 2
ĆĂŻĂŁđ
I did that check the code below.
https://code.sololearn.com/cvV3zQnFz6Uu/?ref=app
+ 2
Yes you can do it with a loop.
0
@Edgar Diaz without using any in-built functions
0
@krish how? I tried but it seems not work.
- 1
I don't understand very well your question but an alternative to split is StringTokenizer
https://stackoverflow.com/questions/691184/scanner-vs-stringtokenizer-vs-string-split#:~:text=split()%20compiles%20a%20Regular,to%20operate%20on%20a%20String.&text=One%20important%20difference%20is%20that,but%20StringTokenizer%20never%20does%20it.