Python string split() method is used to split the string. split function in Python only works with string because it is a string built-in function.