I need to do a simple split of a string, but there doesn’t seem to be a function for this, and the manual way I tested didn’t seem to work. How would I do it?

I need to do a simple split of a string, but there doesn’t seem to be a function for this, and the manual way I tested didn’t seem to work. How would I do it?