Checks if all characters in 'str' are contained in 'chars'.
Checks if any character in 'str' is contained in 'chars'.
Same as std.string.format, just using an allocator.
Special version of icmp() with optimization for ASCII characters
Finds the first occurence of any of the characters in chars
Finds the closing bracket (works with any of '[', '(', '<', '{').
Takes a string with possibly invalid UTF8 sequences and outputs a valid UTF8 string as near to the original as possible.
ASCII whitespace trimming (space and tab)
ASCII whitespace trimming (space and tab)
ASCII whitespace trimming (space and tab)
Strips the byte order mark of an UTF8 encoded string. This is useful when the string is coming from a file.
Utility functions for string processing