Calculates the length of strings and the number of bytes in a blob.
After connecting the transformer, select the source attribute from the list.
This attribute contains the resulting value.
Note that in non-ASCII character sets, the length is the number of actual characters (some or all of which could be multi-byte) in the string, which may not match the number of bytes used to store the string.
To calculate the number of bytes in a blob:
Locate the _length attribute name in the Information Window:
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.
Associated FME function or factory: @Tcl2
Search for samples and information about this transformer on the FME Knowledge Center.