Reverse the words in a sentence
- Your text
- the sky is blue
- Reverse
- Word order
Result Reversed text: blue is sky the
Characters: 15
Words: 4
- Each line was split at spaces and its words were put back in the opposite order; punctuation stays attached to its word.
- Same text, new order: nothing is added or removed except extra spaces between words in word mode.
Word order flips while each word keeps its spelling, the classic string exercise.