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_strin g>)
RBHI all,
RB>
RBI have imported string data that contains numerical values. The
RBnegatives are reporesented in round braces () as in (192)
RBrepresenting -192. How can I convert thin string into a negative
RBnumber while converting other numbers as positive numerical data
RB>
RBThanks
RBRobert
---
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