split
filter is used to divide a string into smaller parts based on a specific delimiter. It returns an array containing the parts of the original string, which is useful for manipulating and accessing string subsections.
split
filter to split a string into words: