Split

Java-Split

Split The split() method of String is used to split the string around matches of the given regular expression. It has the following form: The array returned by this method contains each substring of this string that is terminated by another substring that matches the given expression or is terminated by the end of the string. … Read more…