Power Automate: substring Function
Extracts part of a string using a start index and length. Zero-based; errors if the range overflows.
Function Day is where I explore the basics of a function and share recommendations on how to actually use it. I focus on Power Automate, SharePoint, and Power Apps, because there is so much to dig into there, though other references show up from time to time. Do not expect an exhaustive list of every function, since Microsoft's own reference already covers that. Instead I pick the common ones and build from there, one function at a time. Articles land on a regular schedule, and with three platforms to rotate through you can count on Power Automate, SharePoint, and Power Apps entries coming around in turn. When time allows I speed things up, but a steady rhythm is what keeps Function Day delivering useful, in-depth breakdowns you can rely on.
Extracts part of a string using a start index and length. Zero-based; errors if the range overflows.
Combines values from a table into a single string using a formula.
Returns true when a value is a number type.
Returns the day-of-month number from a date.
Returns true when a column is empty.
Replaces every instance of a substring within a string. Case-sensitive; strings only.
Checks if a text string begins with another.
Converts an array into a delimited string. The delimiter goes between items, never at the ends.
Converts a string to an integer. Floats error; 19+ digit numbers silently corrupt.
Removes leading, trailing, and extra internal spaces from text.
Returns one value from a set based on an index number. Up to 29 items.
Removes leading and trailing spaces. Inner spaces stay intact.