Retrieve characters/Substring from string in Cloud Flows - CloudFronts

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 –

Hope this helps!


Share Story :

Secured By miniOrange