O'Reilly logo
  • Yan Ren thinks this is interesting:

drop

From

Cover of Scala for the Impatient, Second Edition

Note

remove first n characters and return the rest of the original string scala> "abcde".drop(2) res22: String = cde