Splits a string into substrings based on a delimiter. If the delimiter is not found within the string, returns an array containing the original string.
Returns an array of substrings.
Splits a string into substrings based on a delimiter. If the delimiter is not found within the string, returns an array containing the original string.