I am copying a lot of names to clipboard and pasting them elsewhere
By those are arranged from Last Name to First
eg.
Smith, John
Williams, Bill
Jones, Mary
To save time I want the Clipboard to Reverse the two words from First to last and take away to comma so I got John Smith, Bill Williams, Mary Jones, etc.
I can remove the comma,
Code: Select all
StringReplace, clipboard, clipboard, `,,, All
so technically, If Clipboard contains a Comma, then flip the two words, then get rid of the comma. (Or get rid of the comma first then flip, it doesn't bother me.)