danielpetisme

Untitled

Dec 6th, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def list = ['a','b', null, 'c']
  2.  
  3. list.each{ println "$it -> ${it?.toUpperCase()}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​" }​​​​​
Advertisement
Add Comment
Please, Sign In to add comment