I would like to create a expression that grabs a persons first and last name from an email subject but I can't figure out how to do it.
The subject line would be similar to this "New Hire Notification - FirstName LastName"
Solved! Go to Solution.
You probably just want to use the replace expression
This returns the following:
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien
P.S. take a look at my new blog here
@DamoBird365, I get teh attached error when I use your expression, Here is my code: replace(outputs('Compose'),'New Hire Notification -')
You're missing the final parameter ''.
replace(outputs('Compose'),'New Hire Notification -','')
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien
P.S. take a look at my new blog here
Where Ar1 is the name of the variable
Here is another way to approach your issue. You can actually stop at my Get Name Compose action - the remaining actions just split out the first and last names.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
User | Count |
---|---|
23 | |
20 | |
9 | |
9 | |
7 |
User | Count |
---|---|
39 | |
30 | |
26 | |
23 | |
13 |