## Function Friday: Binary, DataUri, UriComponent, and Base64 Conversion Functions

This time I’m going to delve into conversion functions for base64 and binary. Both are typically used to convert binary files such as images and zip files back and forth between formats that various connectors need in order to process them. It’s also sometimes used to generate hashes used for […]

## Function Friday – Data Type Conversion Functions – Bool, Decimal, Float, Int, String

For this batch of functions, we’ll start delving into the data type conversion functions. For the first group let’s look at the base type conversions. They all work pretty much the same way. Bool The bool function is used to convert input data into boolean form (i.e. true or false). […]

## Function Friday – Collection Functions: Contains, Item, Join

For the last group of collection functions, we’re taking a look at the functions that focus on the items in the collection itself. Contains The contains function details whether or not a collection contains a specific element. The result is a boolean value (true/false). The pattern is as follows: The […]

## Function Friday – Collection Functions: Intersection, Union, Skip, Take

For the second batch of collection functions we’re taking a look at the functions that let you work with the collections themselves. These functions let you slice, dice, and merge one or more collections together. Intersection The intersection function compares two or more collections and returns a new array that […]

## Function Friday – Collection Functions – First, Last, Empty, Length

Power Automate contains excellent support for working with collections of objects. Generally, these will be treated as arrays of objects. However, these functions will also work with strings as, in Power Automate, strings are also considered a collection, as they are essentially an array of characters. As such, Power Automate […]

## Function Friday – More Math

I previously covered some of the base math functions available. This time I’ll cover the math functions that are related to working with arrays of numbers. This includes the max, min, rand, and range functions. max & min These two functions work the exact same way. The max function returns […]

## Function Friday – Slice and Split

This week I’m returning to some of the string manipulation functions: slice and split. slice The slice function is essentially an enhanced version of the substring function. The pattern for the function is as follows: The first parameter is the string to be examined. As always this can be a […]

## Function Friday – Logical Comparisons

Similar to most programming languages, Power Automate contains a number of logical functions for comparing values. These include: and, equals, greater, greaterOrEquals, if, less, lessOrEquals, not, or. Most of these functions work in the same general manner. The function name is passed two or more parameters. The parameters may be […]

## Function Friday – The String IndexOf’s

For this week’s #FunctionFriday, I’m going to cover 3 more string functions. This group is related to searching for a particular block of text within a string: indexOf, lastIndexOf, and nthIndexOf. All three of these functions work pretty much the same way. You pass in the text you are searching […]

## Function Friday – Add, Sub, Mul, Div

One of the weakest areas for Power Automate’s functions is in the math and numbers area. For this week’s #FunctionFriday, I will delve into the first batch of math-related functions, I’m going to cover the basic 4: add (addition), sub (subtraction), mul (multiplication), and div (division). The pattern is basically […]