Power Automate has different text functions that one can use to manipulate strings in order to enhance workflows for your various applications. One such text functions is the StartsWith function, this function checks to see whether a string starts with a certain substring. This function can be used in scenarios where you might want validate certain data based on a strings prefix.
Here we will explore a simple step by step guide to how this function can be used in power automate.
StartsWith Syntax
StartsWith('string','substring')
Step 1: Create A New Flow
Step 2: Add a new initialize variable to hold the following details
Step 3: Add a compose action card with the following details:
startsWith(variables('myString'),'Joseph')
Step 4: Save and Test flow. You should get the following details as your results.