String Functions

Intro The majority of Power Automate flows need string manipulation. Here’s how to do it. Learning Objectives Manipulate Strings Description Initialize a variable Name: OurTextFirstPart Type: String Value: Mr. and Mrs. Dursley of number four, Privet Drive, were proud to say that they were perfectly normal Initialize another variable Name: OurTextLastPart Type: String Value:  , thank […]

Intro

The majority of Power Automate flows need string manipulation. Here's how to do it.

Learning Objectives

  • Manipulate Strings

Description

  • Initialize a variable
    • Name: OurTextFirstPart
    • Type: String
    • Value: Mr. and Mrs. Dursley of number four, Privet Drive, were proud to say that they were perfectly normal
  • Initialize another variable
    • Name: OurTextLastPart
    • Type: String
    • Value:  , thank you very much.
  • Use the following functions to manipulate the two strings:
    • concat
    • substring
    • slice
    • replace
    • toUpper (toLower)
    • indexOf
    • nthIndexOf
    • lastIndexOf
    • startsWith (endsWith)
    • Split
      • Use an Apply to each on the result array to print out each element
      • Use an expression to print out a specific element, e.g. the 2nd element
    • Trim

Video Guide

https://youtu.be/zaWkvpI4oeg

Write a comment