0

I'm looking for way to make username text field for not accepting whitespace or special characters such as "/><,=+-|}{[])(*&^%$#!@~.. etc" for swift 3.0

I searched on internet anything that if I insert a username with whitespace or special characters to delete it or replace it.

Any help ?

user2508528
  • 131
  • 1
  • 3
  • 9
  • Wait. even if they use all those characters can't you simply take in the entered string and remove the undesired characters from it? – java_doctor_101 Dec 07 '16 at 19:40
  • nitinsh99 I followed the answer of the quest, and still not have result. – user2508528 Dec 07 '16 at 20:54
  • unfortunately other users have closed off this question so I can't answer here but I have posted an answer for you under this question : http://stackoverflow.com/a/41027512/1099142 – java_doctor_101 Dec 07 '16 at 21:16

0 Answers0