Reputation: 21
To delete a special character from a text field, eg {'~;}, is it faster to use Regular Expression or to create a logic program?
Upvotes: 0
Views: 144
Reputation: 3360
If you're not sure how to go about this, then you'll probably find it easier to use logic. On the other hand, you're likely to learn a lot more by using a Regex.
And as Marc Gravell said, your best bet may well be String.Replace
Upvotes: 1