CharacterCodeExtractor
Extracts the integral character code of the first character in the source string attribute, and adds its integer value in the character set to the feature as another attribute.
This can be used to obtain the ASCII code of any character, including non-printable ones.
Parameters
The attribute that contains the character for which you would like to find the equivalent numeric code
The name of the attribute that will store the resulting integer value.
Example
For example, a control-A character as the first character of the source string attribute would result in a value of 1 being placed in the character code attribute.
Usage Notes
To obtain the character equivalent of a numeric value, use the CharacterEncoder transformer.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.