We're no longer updating this content regularly. Check the Microsoft Product Lifecycle for information about how this product, service, technology, or API is supported.
This article lists some useful expressions for Strings, Datetime, finding specific days and more.
Do comment if you want to add/require any additional expressions or if you have any blogs on same topic. I will add them in this article.
Also I will keep on adding more expressions in this article in future.
Handling Strings
Scenario and Expression
1
Expression to Get the first name from Full Name
FullName: Vaibhav Chaudhari
Output: Vaibhav
@split(pipeline().parameters.FullName, ' ') [0]
2
Expression to Get the last name from Full Name
FullName: Vaibhav Chaudhari
Output: Chaudhari
@split(pipeline().parameters.FullName, ' ') [1]
3
Expression to Get the string between second and third slash