Swap First Last Word
Swap first and last words.
Swaps the first and last whitespace-separated words. Needs ≥ 2 words. Empty fails.
Result: Carol Bob Alice
Words: 3
Length: 15
First word: Alice
Swap first and last words.
Swaps the first and last whitespace-separated words. Needs ≥ 2 words. Empty fails.
Result: Carol Bob Alice
Words: 3
Length: 15
First word: Alice