Extensions enhancement - HasSymbol() method added

The .HasSymbol() method was added to both the System.String and System.Text.StringBuilder objects.  It allows the developer the ability to quickly check if a string contains symbols or special characters e.g.

" Rocks!".HasSymbol()

will return True whereas:


will return False.

For a more detail of what Extensions offer, see:

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

Happy coding

Post a Comment

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