![]() |
VOOZH | about |
public List<String> splitToList(CharSequence sequence)Parameters: This method takes sequence as parameter which is the sequence of characters to split. Return Value: This method returns an immutable list of the segments split from the parameter. Below examples illustrate the working of splitToList() method: Example 1:
Hello geeks for geeks noida
Everyone should Learn, Data Structures