Java How to Program
Takes a new tools-based approach to Web application development that uses Netbeans 5.5 and Java Studio Creator 2 to create and consume Web Services. Features new AJAX-enabled, Web applications built with JavaServer Faces (JSF), Java Studio Creator 2 and the Java Blueprints AJAX Components. Includes new topics throughout, such as JDBC 4, SwingWorker for multithreaded GUIs, GroupLayout, Java Desktop Integration Components (JDIC), and much more.
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: http://hansamann.podspot.de/rss. 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
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
Thanx for the correction - the dot is removed. The snippet should now work in groovyConsole without changes... Sven