Mask
Replaces all but the last n
of characters with the specified mask character.
- Slice the given string appropriately, using
strings.Repeat()
to addn
timesm
to the beginning.
Replaces all but the last n
of characters with the specified mask character.
strings.Repeat()
to add n
times m
to the beginning.