rocket

rocket

  • NA
  • 16
  • 0

help with Contains method

Jan 14 2008 2:00 PM

I'm trying to detect if a string contains any characters outside of a range of values (ASCII), from ,(comma) to |(pipe). I tried this and it didnt work

string.Contains("[^,-|]");

any ideas?


Answers (2)