Text helpers that just work

A tiny package of string functions: count words, reverse them, wrap long lines and more.

Browse the functions

countWords

Counts the words in a text, separated by whitespace.

reverseWords

Returns the words of a text in reverse order.

wrapText

Breaks a long line into lines of a given width.