Search Results for

    Show / Hide Table of Contents

    THtmlEntities.TryNameToCode Method

    Converts an Html entity like "amp" into the unicode code for the character. The input string can also be a # code, in decimal or hexadecimal. (for example &#64).

    Syntax

    Unit: FlexCel.Core

    class function THtmlEntities.TryNameToCode(const EntityName: string; out Code: Integer): Boolean; static;

    Parameters

    <-> Parameter Type Description
    const EntityName string Name of the entity without the starting "&" and the trailing ";"
    out Code Integer Unicode representation of the entity.

    Returns

    True if the code exists, false otherwise.

    See also

    • THtmlEntities
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com