TextFormattertype

(str: string) => string

Formats a string for display in a text input.