Hello Robert,
There are a lot of variations - regexp, checking "(" existence and etc
Smth like using String.Replace to replace the "(" on "-", remove "-" and
Convert.ToInt32(<your_string>
RB> HI all,
RB>
RB> I have imported string data that contains numerical values. The
RB> negatives are reporesented in round braces () as in (192)
RB> representing -192. How can I convert thin string into a negative
RB> number while converting other numbers as positive numerical data
RB>
RB> Thanks
RB> Robert
---
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche