I have a string
"transform(23, 45)"
from this string i have to extract 23 and 45, i did
var xy = "transform(23,45)".Substring("transform(23,45)".indexOf('(') + 1).TrimEnd(')');
var num = xy.Split(',');
I am using c#. Is there any better method to do this in c#?