Trim text Action(Power Automate Desktop)

05/05/2023

Japanese version.

This action removes whitespace (full/half-width spaces, tabs, and line breaks) from the left, right, or both sides of the specified text.

This function is a counterpart to "Pad text" and is similar to the TRIM function in Excel.

How to use

Drag Trim text from Text onto the Workspace.

Set parameters.

Parameter

Text to trim

Specify the target string.

What to trim

Select whether the target for deletion is the beginning, the end, or both.

Variables produced

TrimmedText

The resulting edited text is stored.

If there are no characters to be deleted, the text is stored as it is specified in the text to be trimmed.

---

Links

Text Actions