groovy/groovy-core — pull request #144 by johnnyjian (2013-03-10 17:15:52+00:00)
Title: Add StringGroovyMethods#mod() for Python-like String formatting

In Python, we format String like:

print '%s: %d' % ('one', 1)

We can also do it in Groovy by adding a mod() method to String:

println '%s: %d' % ['one', 1]