Posted By

hansamann on 01/31/07


String gstring groovyseries

Versions (?)

Who likes this?

6 people have marked this snippet as a favorite


Groovy Series: String & GString 1/2

 / Published in: Groovy


This snippet shows the different types of strings in Groovy and plays with them. Listen to the audio to get the best learning experience. Simply right-click on the title above to download the mp3 file of this part of the series.

The Groovy Series is part of the Grails Podcast and can be subscribed to via: The series is produced by Dierk K├Ânig and Sven Haiges, further information about the topic of this episode can be found in the book

Groovy in Action -

Report this snippet  


RSS Icon Subscribe to comments
Posted By: mktany2k on February 28, 2007

The test on line 27 will fail because the value for lines[0] will be "Groovy can master any $replacement." with the extra DOT in the end of line.

by remove the DOT. The test pass. Hope this help.

Groovy rocks

Posted By: hansamann on March 2, 2007

Thanx for the correction - the dot is removed. The snippet should now work in groovyConsole without changes... Sven

You need to login to post a comment.