About EasyMorph Tutorials & Examples Web-help

Split after last space


I have a field looking like this
xxxx feeee ddd fff
ddd fff eee kkkkk ss
ddd sss xx
I would like to find the last space and then split the last
So I want to see
I do know that I can split all, but the size of the fields differs.

Any suggestions on:
Find last space and then split it after last space.


Hi Rykie,

you can use the mirror() function to reverse text, keep characters before the 1st space using keepbefore(), then reverse back using mirror() again.

See example below:
keep after last space.morph (1.7 KB)


Thank you Dmitry.

To learn more about EasyMorph visit easymorph.com.