String character modify

Hi @AJITH_SK

if (inputString.Length >= 4)

    inputString = inputString.Substring(0, inputString.Length - 4) + "****";

2 Likes