Truncate String

Cut a string to a set length from the head or tail with an optional ellipsis.

Input
Output

Tool Options