is_ascii


Description:

[ Version ( since = "2.40" ) ]
public bool is_ascii ()

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