![]() ![]() A separator parameter having a single character is the simplest one.It can be a simple string or a regular expression. The separator is a pattern describing where each split should occur. The division is performed on provided search pattern i.e separator provided as the first parameter in the method’s call. The split() method divides a String using a specified separator into an ordered set of substrings, returning a resultant array. The split() function separates an original string into an array of substrings. ![]()
0 Comments
Leave a Reply. |