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

PowerApps Grammar School

11 October 2017

Comments:

1
 October 11, 2017
 1

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.