How to mask specified number of integers ex:- ######7890.

How to mask specified number of integers ex:- ######7890.

  Discussion posts and replies are publicly visible