What is the most efficient way in C# to eliminate disallowed characters from a string?

后端 未结 0 1846
生来不讨喜
生来不讨喜 2020-11-27 22:43

I need to validate user entry in a way that only allows letters, numbers and certain characters from a predefined list. I\'m limited to using the compact framework, so just

相关标签:
回答
  • 消灭零回复
提交回复
热议问题