Contact us

Trim Text

This activity allows removing white-space characters from the text and store result in variable.

Trim Text workflow activity that removes white-space characters and stores the result in a variable

The activity can remove leading, trailing and leading and trailing white-space characters.

SharePoint Workflow Designer Phrase#

Removes leading and trailing white-space characters from this text and store in Variable: variable.SharePoint Workflow Designer phrase for the Trim Text activity removing leading and trailing white-space

Parameters

ParameterDescription
leading and trailingTrim mode. Supported: leading and trailing, only leading and only trailing modes
this textOriginal text
variableThis activity will place result into an output variable

Trim Text activity parameters configured with the trim mode, source text, and output variable

Updated on June 17, 2026