ASCII related problems
-
Hi I have a textbox and I want to only accept ASCII characters. So if I enter something like ╥ it will fail. When I convert it to ASCII they get converted to question marks, which is no good, cos I cant just remove question marks. Basically I want to know if there are any things entered outside the ascii range. Any ideas? Thanks in advance
-
Hi I have a textbox and I want to only accept ASCII characters. So if I enter something like ╥ it will fail. When I convert it to ASCII they get converted to question marks, which is no good, cos I cant just remove question marks. Basically I want to know if there are any things entered outside the ascii range. Any ideas? Thanks in advance
Hi there. Could you use a regular expression to test and/or strip characters out of your Textbox.Text property that you don't want?
-
Hi there. Could you use a regular expression to test and/or strip characters out of your Textbox.Text property that you don't want?
How do you mean regular expression? You mean create a set of characters I dont want?
-
How do you mean regular expression? You mean create a set of characters I dont want?
Click this link [^] to see what I mean by a Regular Expression. It links to the MSDN page introducing the topic.