help again: trimming string

dec21st

Active member
Joined
May 14, 2005
Messages
43
Programming Experience
3-5
say i got a string with a value "12 (22)"

i wanna seperate the 12 n 22 into two different integer variable. how do i do it?

note that the integer's length on the string can be 1 or 2
e.g the string value can be "2 (22)" or "22 (2)"
 
Back
Top