first function. String.(Power Automate Cloud flows)

Japanese version.

Function to get the first character of text.

first also has a function of the same name that retrieves the first item in an array.

It works in the opposite way to last.


textRequired fieldTarget text.

How to use

In many cases, it is used to initialize or set variables of type "String".

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

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.

When dynamic content or variables are used in expressions, special specifications are required.

(How to get dynamic content with expressions.)

Examples of arguments and results

For example, first('ABCDE') will result in "A".



String Functions(Power Automate Cloud flows)