advanced code snippet search
miceno on 03/10/11
String integer conversion
03/10/11 05:32am
Print each char of an UTF-8 string as an Integer
// UTF-8 chars are represented with as much as 4 IntegersString s= "aeiouáéÃóú" s.each{ def value= it.toCharacter() as Integer println value}
Report this snippet Tweet
Comment:
You need to login to post a comment.