Reverse words

A reverse words function or algorithm takes a string of text as input and reverses the order of the words within that string. For example, the input "This is a sentence" would become "sentence a is This". The individual words themselves remain unchanged; only their order is reversed.

Popular tools