NextGen Knowledge Center

LEN String Function

Use the MEMOLEN string function instead of the LEN function for memo fields. Use the FIELDLEN string function with the LEN function to return the remaining number of characters that can be entered in a text-type data entry field.

Use:Returns the number of characters in a string
Syntax:
{LEN( «string» )}
Arguments:

«string»
    Character string to be evaluated
Returns:The number of characters in the given string
Example:

Field = txt_field
{template_name_.txt_field} = NextGen
{LEN( {template_name_.txt_field} )}

Result: 7