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.