Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SCALA

scala string reverse

scala> val x = "scala is awesome"
x: java.lang.String = scala is awesome

scala> x.reverse
res1: String = emosewa si alacs
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scala #string #reverse
ADD COMMENT
Topic
Name
8+3 =