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 @).
Syntax
Namespace: FlexCel.Core
public static Boolean TryNameToCode(String EntityName, out Int32 Code)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
EntityName | String | Name of the entity without the starting "&" and the trailing ";" | |
out | Code | Int32 | Unicode representation of the entity. |
Returns
True if the code exists, false otherwise.