User entered URL validation
Posted on 2003-12-11
Could anyone help me out with some validation code to remove all invalid characters from a string? I was hoping to find a way of using CString.Remove by specifying a range of ASCII numbers to remove. For instance, remove all ASCII chars with code less than 48. Obviously I could go through and say
and so on but that’s not very efficient and a lot more work! Any help much appreciated!