strIsAscii
fn
bool strIsAscii(string str)Determines if a string is pure ASCII. A string is pure ASCII if it contains no bytes with the high bit set.
Parameters
str | a string |
Returns
true if str is ASCII
bool strIsAscii(string str)Determines if a string is pure ASCII. A string is pure ASCII if it contains no bytes with the high bit set.
str | a string |