split delimited string in Python: To split a string based on a delimiter and store the result in a list, we can use the str.split() method.