Created
August 23, 2011 07:11
-
-
Save sidharthkuruvila/1164536 to your computer and use it in GitHub Desktop.
Convert a List of Ints into a String
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
println(List(72, 101, 108, 108, 111).map(_.toChar)(collection.breakOut)) | |
//prints: hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment