Guess I should test my code first, there isn't a concatenate or rept function in ColdFusion and the bullet symbol crashes the script unless you double the #
So, now for the real coldfusion code:
RepeatString("&##149;",len(SomethingSecret)-4)&Right(SomethingSecret,4)
I wanted to add this to this thread: thread232-186217
But it was closed...
So, here's a better way to handle what was being done:
CONCATENATE(REPT("•",len(SomethingSecret)-4),right(SomethingSecret,4))
Which would make something like this:
MySecretPassword
Look like:
••••••••••••word...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.