this-> Ord

(Caronte Pcode version 2.0)

Description

int this-> Ord ( string character)

Return ASCII value of character


Example.

Source:

CS_ANTISPAM_SCRIPT this = new CS_ANTISPAM_SCRIPT($_this);

this->Print(this-Format("Ascii value: %d", this->Ord("A")));


Out:

Ascii value: 65