Вот один из способов сделать это.
List(("kohli", List("scores1:02:55", "kohli1:03:31"))
,("Rohit", List("sco1:02:55", "kohli1:03:31"))
,("dhawan", List("scoresmade1:02:55", "kohli1:03:31")))
.map{
case (str, s1::s2::_) => (str, (s1, s2))
case (str, s1::Nil) => (str, (s1, ""))
case (str, Nil) => (str, ("", ""))
}
//res0: List[(String, (String, String))] = List((kohli,(scores1:02:55,kohli1:03:31))
// , (Rohit,(sco1:02:55,kohli1:03:31))
// , (dhawan,(scoresmade1:02:55,kohli1:03:31)))