NextGen Knowledge Center

REPLACE String Function

Use:Replaces all occurrences of a value with another value in a character string
Syntax:
{REPLACE( «string» , «old» , «new» )}
Arguments:

«string»
    Character string to be searched
«old»
    String value to be found
«new»
    Replacement string value
Returns:The character string with the replaced value
Example:

Field = txt_field
{template_name_.txt_field} = NG Healthcare Information Systems, LLC
{REPLACE( {template_name_.txt_field}, NG , Nextgen )}

Result: NextGen Healthcare Information Systems, LLC