length String function(Power Automate Cloud flows)

Japanese version.

Gets the number of characters in the text.

length also has a function of the same name that retrieves the number of array items.


textRequired fieldTarget text.

How to use

The length function is used for text and numeric parameters.

It is also used to initialize or set variables of type Integer.

Clicking on length in the "Expression" tab sets the function name and () in the formula field.

Specify the text to get the number of characters by enclosing it in ' and click OK.

If you want to use dynamic content or variables, the ,delimiter is the same.

(How to get dynamic content with expressions.)

If you see something like the following, your settings are complete.

You can change the contents of the function by clicking on the purple icon.

For example, length('abc') results in 3.



String Functions