String manipulation
By using either index positioning, or by searching for certain characters, we can determine where to split a string to create a substring.
Creating a substring
By using positioning, we can determine where to split a string to create a substring. A substring will return the first section of an array. It uses an index value to mark the starting position and then the number of characters required to return for the output.
If we use our multiples of 3 array from earlier, with an index position of 0
and a character return count of 3
, the first three characters are returned. Notice that I am referencing the 'Join'
action we created earlier and examining the body text only:
substring(body('Join'),0,3)
This screenshot shows the returned output:
Let's now try counting the length of a string.
Counting the length of a string
By...