Created
January 14, 2020 20:38
-
-
Save parzibyte/e77a4ca9d12dbbf5f254e6db813fe0cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String enmascarar(String cadenaOriginal, char mascara) { | |
for (int x = 0; x < cadenaOriginal.length(); x++) | |
cadenaOriginal.setCharAt(x, mascara); | |
return cadenaOriginal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment