WINDOWS-1251, WINDOWS-1252
Parameters
s | the string to be tested |
size_t validLength(E)(const(E)[] s)Returns the length of the longest possible substring, starting from the first code unit, which is validly encoded.
WINDOWS-1251, WINDOWS-1252
s | the string to be tested |