if your input is (123)(12345)
then you can use split properties of the string...
eg.
string num =(123)(12345);
now you can split it into two half..
string[] newnum = num.Split('(');
now you get newnum[0]=123)
and next is newnum[1]=12345)
again you can use for loop next to omit ')'
string fnum;
string snum;
for(int i = 0; i < newnum.Length; i++)
{
if(i==0)
{
string[] num = newnum[i].Split(')');
fnum = num[0];
}
else if(i==1)
{
string[] num = newnum[i].Split(')');
snum = num[1];
}
}
Thus, you can use 'SPLIT' to split the string....