Retrieve characters/Substring from string in Cloud Flows

In this blog we will see how to retrieve string or characters from string using substring and take method

When we want to retrieve character/string from starting index then will use take() method, else will use substring()

Let say we want to retrieve first 5 character from string.

Eg. – string is Power Automate

We will demonstrate this with both the cases.

  1. Using Substring

Here we are retrieving first 5 characters from string i.e. Power

Expression used –

substring(‘Power Automate’,0,5)

Output –

2. Using take()

Expression used to retrieve string – take(‘Power Automate’,5)

Output –

OUTPUTS 
Outputs 
Power 
Show raw outputs

Hope this helps!

Published by Ankita Chavan

Software Engineer

Leave a comment

Design a site like this with WordPress.com
Get started