DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SCALA
scala split string to list
val trimmedList: List[String] = str.split(" ").map(_.trim).toList
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#scala
#split
#string
#list
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit