Sign in Join
FPDoc Onlineexperiment

IsPureAscii function

In unit LazUTF8

Determines whether the specified string contains only single-byte ASCII characters.

Declaration

pascal
function IsPureAscii(S: string): Boolean

Arguments

S

String with the characters examined in the routine.

Function result

Returns True if all of the characters in S have a value less than or equal to $7F.

Description

Used in the implementation of the TStringListUTF8Fast.InsertItem method.

Added in LazUtils version 3.2.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.