RosettaCodeData/Task/Interactive-programming/Scala/interactive-programming-2.s...

23 lines
974 B
Scala

scala> "rosetta".
!= ## $asInstanceOf
$isInstanceOf + ==
charAt clone codePointAt
codePointBefore codePointCount compareTo
compareToIgnoreCase concat contains
contentEquals endsWith eq
equals equalsIgnoreCase finalize
getBytes getChars getClass
hashCode indexOf intern
isEmpty lastIndexOf length
matches ne notify
notifyAll offsetByCodePoints regionMatches
replace replaceAll replaceFirst
split startsWith subSequence
substring synchronized this
toCharArray toLowerCase toString
toUpperCase trim wait
scala> "rosetta".+(":")
res1: java.lang.String = rosetta: