String replace method not doing anything in Flex 4 app
Posted
by ben
on Stack Overflow
See other posts from Stack Overflow
or by ben
Published on 2010-05-24T03:04:05Z
Indexed on
2010/05/24
3:10 UTC
Read the original article
Hit count: 455
I have a string called userEmail in my Flex 4 app that has a value of:
my%40email.com
I need to have an @ symbol instead of %40, so I run this line:
userEmail.replace("%40","@");
But the string has the same value after. What am I doing wrong?
Thanks for reading.
© Stack Overflow or respective owner