2
Answers

Split last word from the rest of the string

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)