Str.isAscii

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

struct Str
static
bool
isAscii
(
string str
)

Parameters

str string

a string

Return Value

Type: bool

TRUE if str is ASCII

Meta

Since

2.40