Create parseInt_function

this function create to extract number from string easily .
you can call the function like the following example: 
String s = "a1b2c3";
int i = praseInt(s);
i = praseInt(s,2);
i = praseInt(s,2,4);
enjoy don't forget the limitation of 29999, every number bigger then that will return -1;