enter image description herehere is my sample input:
val list=List("a;bc:de;f","uvw:xy;z","123:456")
I am applying following operation
val upper=list.map(x=>x.split(":")).map(x=>x.split(";"))
but it is throwing error- error: value split is not a member of Array[String]
can anyone help how to use both split so that i can get answer!
Thank you in advance.