collections - Scala: List drop first n empty items - Get link Facebook X Pinterest Email Other Apps February 15, 2013 i have list: val arr = array("", "", "a", "b", "") i want apply method on arr, such output is: array("a", "b", "") it's just arr.dropwhile(_.isempty) Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment