2
Answers

Split last word from the rest of the string

sabine

sabine

12y
1.8k
1
Hi,
I have a string with undefined number of words.
I want to split this string in two parts: the last word alone and all the other words in another string.
How is that possible?
Thank you in advance
Answers (2)