How do I replace a substring with a masking character in Visualforce? For eg. I have a list of Contacts under an Account to be displayed on the Visualforce page - email field to be masked.
[email protected]
to be displayed as [email protected]
I have tried left() and right() to get us
and [email protected]
respectively. Finding it challenging to replace all intermediate characters to x
.