[][src]Crate text_utils

Enums

TextError

Functions

dedent

Removes common leading whitespace from each line.

dedent_less_than

Removes at most n leading whitespace from each line

indent

Adds spaces to each non-empty line.

indent_count
indent_with

Adds prefix to each non-empty line.

unescape

Takes in a string with backslash escapes written out with literal backslash characters and converts it to a string with the proper escaped characters.

unescape_dec_chars
unescape_hex_chars
unescape_only
unescape_unchecked

unchecked version of unescape

unescape_utf8
url_decode
url_encode