string function. Conversion.(Power Automate Cloud flows)
Converts non-text data such as numbers and arrays to text.
It is mainly used when importing files from some application or when saving data to a text file, When saving data to a text file.
Spec
string('<value>')
Argument | Default | Description |
---|---|---|
value | Required field | Value to convert. |
How to use
In most cases, it is used in the "value" when initializing or setting variables of type "String".
Click on the "Expression" tab, string, and the function name and () will be set in the expression field.
Specify the value to be converted as an argument.
When dynamic content or variables are used in expressions, special specifications are required.
(How to get dynamic content with expressions.)
Click on the button, and if the display looks like the following, the setting is complete.
You can change the function by clicking this purple icon.
Example result
Number
string(123) will convert to the string '123'.
Array
Arrays can also be specified.
string(createArray('123', '456', '789')) will be converted to ["123", "456", "789"].
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.
Discussion
New Comments
No comments yet. Be the first one!