11 January 2021

Extensions enhancement - IsVowel() method added

The .IsVowel() method was added to the System.Char, System.String and System.Text.StringBuilder objects.  It allows the developer the ability to check a substring for a vowel e.g.

"https://blog.cjvandyk.com ROCKS!!!".SubString(10, 1).IsVowel()

will return True because it's checking the "o" while

"https://blog.cjvandyk.com ROCKS!!!".SubString(11, 1).IsVowel()

will return False since it's checking the "g".


For a more detail of what Extensions offer, see:







Add Extensions to your toolbox and make your coding life a little easier.  

Happy coding
C

No comments:

Post a Comment

Comments are moderated only for the purpose of keeping pesky spammers at bay.

SharePoint Remote Event Receivers are DEAD!!!

 Well, the time has finally come.  It was evident when Microsoft started pushing everyone to WebHooks, but this FAQ and related announcement...