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.

Spec

length('<text>')
ArgumentDefaultDescription
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.

For those who want to learn Power Automate Cloud flow effectively

The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Cloud flow to streamline your workflow.

Links

String Functions