Detect certain characters in a text field
Posted
by
Craig
on Stack Overflow
See other posts from Stack Overflow
or by Craig
Published on 2012-08-20T02:45:16Z
Indexed on
2013/11/03
21:55 UTC
Read the original article
Hit count: 263
What is the easiest way to detect a character in a text field?
I want to be able to detect a certain character and replace that character with another specific character.
So If I write in a text field... "zyxw" I want it to be replaced with "abcd".
I'm a newbie and don't really know where to start with this or how to go about it. If anyone has any methods of doing this, I would really appreciate it.
© Stack Overflow or respective owner