startsWith function. String.(Power Automate Cloud flows)

Japanese version.

Determines if the text begins with the specified string.


startsWith('<text>', '<searchText>')
textRequired fieldText to be examined (long text).
searchTextRequired fieldPartial text (short text) to be searched

How to use

This function is used for Boolean parameters.

In actions it is often used in "Condition".

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

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

Specify text enclosed in "'" and delimited by "," 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.

Examples of arguments and results

If startsWith('abcdef','ab'), The result is True (yes) because "abcdef" starts with "ab".

The same is true for startsWith('aBcdef','Ab'), since it is case-insensitive.

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.


String Functions(Power Automate Cloud flows)