Can we split a string using more than one character by using the split( ) function ? If so, how? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Can we split a string using more than one character by using the split( ) function ? If so, how?

In Java when we split a string and put it in an array we can specify the delimeter according to which we can split. But can we put more than one delimeter at a time. If so ,what is the format?

15th Feb 2019, 4:34 AM
Nafisa Sardar
Nafisa Sardar - avatar
2 Answers
+ 5
yes I got it thank you so much xoxo
15th Feb 2019, 5:39 AM
Nafisa Sardar
Nafisa Sardar - avatar
0
I am determined to know what you are talking about ,but as an aspiring programmer is it wise to master one language without knowledge of others ....wise as it is probable or is it at the disadvantage of the student
16th Feb 2019, 1:01 PM
Gabriel Hul
Gabriel Hul - avatar