findCharacterEntityByName

findCharacterEntityByName(name:        String;
                          number:      Integer output;
                          description: String output): Boolean;

The findCharacterEntityByName method of the System class returns true if the name parameter corresponds to a supported character entity name, and false otherwise.

If true is returned, the Unicode code point and a description for the character entity are returned in the output parameters number and description, respectively.

The following code fragment shows an example of the findCharacterEntityByName method and its parameters.

vars
    cp   : Integer;
    desc : String;
begin
    write system.findCharacterEntityByName("euro",cp,desc);  // "true"
    write cp;                                                //  8364
    write desc;                                              // "euro sign"