split(…) method of String class
Instance overloaded split(…) methods have below declarations: 1. public String[] split(String regex, int limit) {…}: It returns the String[] after splitting this string around matches of the given regex. The limit parameter controls the number of times the pattern is applied and therefore affects the length of the resulting array. A. If the limit is […]
split(…) method of String class Read More »