mickeyvip (17) [Avatar] Offline
#1
The REPL code is:

scala> var name = “A Church”
name: String = A Church

scala> name.drop(2)
res0: String = ???

scala> name
name: String = ???

scala> res0.take(1)
res1: String = ???

scala> scala> ???
res2: String = AC


The last 2 lines should be (like in explanation on the next page):

scala> name.take(1) + res1
res2: String = AC
aslam.khan (50) [Avatar] Offline
#2
Re: Typo in Ch. 1, page 15, "More Fun with String"
Yes, that's just me with a nasty 'copy 'n paste' smilie
JeroenRombouts (4) [Avatar] Offline
#3
This is still present in v05