pop3mail v0.1.5 Pop3mail.StringUtils

String manipulation utilities.

Summary

Functions

Print text if it valid utf-8 encoded. If not, print the alternative text

Strip a character. Only when it occurs both at the start and end if the text. Strip once only

Strip double quotes. Only when they occur at the start and end if the text. Strip balanced. Once only

Functions

printable(str, printable_alternative \\ "")

Print text if it valid utf-8 encoded. If not, print the alternative text.

remove_balanced(text, remove)

Strip a character. Only when it occurs both at the start and end if the text. Strip once only.

unquoted(text)

Strip double quotes. Only when they occur at the start and end if the text. Strip balanced. Once only.