Advertisement
fatimacasau

Groovy Dinamic Typing 1

Feb 5th, 2012
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.11 KB | None | 0 0
  1. def a = "Mi nombre es Fátima"
  2. def name = a.substring(a.indexOf('F'),a.size()--);
  3. println a
  4. println "Hola $name"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement