is_ascii


Description:

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