How do I turn a string into an array?

The split() method splits a string into an array of substrings . The split() method returns the new array. The split() method does not change the original string. If (” “) is used as separator, the string is split between words.

Sizin İçin Seçtik  Can we have array of strings in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *