How to replace/mask first n digit/string of map values in Scala : <p>I have a map in Scala like ( 1 -> 224343 , 2 -> 094533 , 3 -> 930069) and I want to replace first N digits/strings of map values with xxxx .  so the desired output will be (1 -> xxxx43 , 2 ->  xxxx33.....)</p>
