-
rearranging live text
First time poster, long time lurker (and appreciator of the wonders to be found here).
I am looking for help with an expression that will take a line of text of varying length and swapping the last half of the text with the first to create a resulting layer of text.
So the master text layer might say…
“ONCE IN A WHILE I’M THINKING OF YOU”
And the second text layer would say…
“I’M THINKING OF YOU ONCE IN A WHILE”
I have some conceptual grasp of getting lengths, indexing, and splitting into strings, but I’m having trouble getting this effect to work.
Thinking ahead, I would also have to account for an odd number of words, and making sure that there is a properly placed space after swapping the text around.
Any help would be much appreciated.
Thank you.
…ryan