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.
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
© 2012-2014 RejectedSoftware e.K.
Utility functions for string processing