Skip to content

String Operations

Command Description
lower to lower case
upper TO UPPER CASE
title To Title Case
snake to_snake_case
kebab to-kebab-case
camel toCamelCase
pascal ToPascalCase
slug to-slug-case
reverse esreveR
trim Trim whitespace
repeat Repeat N times
wrap Word-wrap at width
replace Find and replace
escape-quotes Escape single and double quotes
rot13 ROT13 encode
char-freq Character frequency analysis
word-freq Word frequency analysis

Examples

tweak lower "HELLO WORLD"
tweak snake "Hello World"
tweak camel "hello world"
tweak reverse "hello"
tweak wrap --width 40 "a long sentence that needs wrapping"