Java String split method is used for splitting a String into its sub strings based on the given delimiter or regular expression. Mostly this attribute will be a space or a comma with which you want to break or split the string.Java offer two methods to split an string using regex and integer limit. First method is to use string  split (string regex). This method returns an array of strings after splitting an input string based on the delimiting regular expression. Second method is use string  split (string regex, int limit). This method is used when you want to split strings at a particular length. The only difference between this and the first method is it limits the number of strings returned. Refer the above video to know more how you can split strings in java with a example.