SharePoint: Trim Function
Removes leading, trailing, and extra internal spaces from text.
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.
Removes leading, trailing, and extra internal spaces from text.
Returns true when a string, array, or object has no value. Numbers and booleans throw an error.
Converts a string, integer, or float to boolean. Zero is false, non-zero is true.
Converts a string into a date-time value.
Rounds a number to a given number of decimal places.
Returns true when any expression is true.
Converts booleans, integers, floats, and arrays to text. Arrays become JSON; null becomes empty.
Compares two values. Case-sensitive for strings, cross-type for ints and booleans.
Returns true when a date-time falls on today.
Checks if a string ends with specific text. Case-insensitive, space-sensitive, strings only.
Converts a value to an integer by rounding down.