Computer Science, asked by kajalkumari615, 1 year ago

How to use Java String.split() method to split a string by dot?

Answers

Answered by pandeysakshi2003
0

you want to split String on the dot you need to escape dot as \\. instead of just passing "." to the split() method. Alternatively, you can also use the regular expression [.] to split the String by a dot in Java

please make me brainlist

Similar questions