Todd Baginski's Blog - A SharePoint, Mobile, Office365, PowerApps and Azure Blog

PowerApps Grammar School

11 October 2017


 October 11, 2017

Here’s a little function you can use to ensure your PowerApps follow basic English language grammar rules for the words A and AN.

This function displays the words A and AN appropriately, based on the word that comes after them in a sentence.

If(IsMatch(<TEXT TO EVALUATE>, "[AEIOUaeiou]", BeginsWith), "an ", "a ")

Note: This function does not take into account special cases like the words university and honor, but you could easily adapt the logic to handle additional words.

The following screenshots show it in action.

One response on “PowerApps Grammar School