Tags


Popular Groovy Posts

A convenient method of configuring parameters in a Grails app *application.yml* file is to use system environment variables instead of hard-coding values. The syntax for an environment variable is: ...
Here's a simple regular expression function that will return a Boolean indicating if the specified string is an Email Address. // is the string an email address def isEmail(String emailAdd...
Here's a simple regular expression function that will strip non-numeric characters from a string. Useful for cleaning phone numbers. // strips non-numeric values from a string def stripNon...