NextGen Knowledge Center

SUBS String Function

Use:Extracts part of a character string, starting at a specified position
Syntax:
SUBS( «string» , «start» , «len» )}
Arguments:

«string»
    Character string to be evaluated
«start»
    Zero-based character position from where to begin the search
«len»
    The number of characters to be returned
Returns:The number of characters specified from the character string
Example:

Field = txt_field
{template_name_.txt_field} = NextGen Healthcare Information Systems, LLC
{SUBS( {template_name_.txt_field}, 8, 5 )}

Result: Health