Wordsmith
Documentation
...Because you have the best words.
Guide
Examples
Releases
Get Wordsmith
Follow @topshelfcraft
Wordsmith features:
Trim and truncate text or HTML (by paragraph, word, or character)
Beautify your typography (smart quotes, widow-prevention, ampersand styling, etc.)
Change case and inflection
Transliterate international text
Search, count, isolate, and replace substrings
Parse Emoji, using standard and short names
Parse Markdown, in several flavors (including Parsedown)
Parse names to get their parts (e.g. first name, last name, etc.)
Parse a URL to get its parts (e.g. host name, path, query string, fragment, etc.)
Get YouTube video ID from a URL
Match and re-case Roman numerals
Calculate text statistics like word count, sentence count, and readability
Tell whether a variable value is string-like
...and much more...