stripUTF8Bom

fninout(char)[] stripUTF8Bom(inout(char)[] str) @safe pure nothrow

Strips the byte order mark of an UTF8 encoded string. This is useful when the string is coming from a file.