https://kotlinlang.org logo
f

Fré Dumazy

07/26/2018, 10:22 AM
Hi, having two lists: a larger one
listLarge
& a shorter one
listShort
, how do I get a new list where the first items of
listLarge
are overwritten by the items of
listShort
? for example: listLarge = [a,b,c,d,e] listShort = [1,2,3] result = [1,2,3,d,e]
2 Views