strIsAscii

Determines if a string is pure ASCII. A string is pure ASCII if it contains no bytes with the high bit set.

bool
strIsAscii
(
string str
)

Parameters

str string

a string

Return Value

Type: bool

true if str is ASCII