Group numeric characters
else if ( temp [ i ] >= ( ' ' ) && temp [ i ] <= ( ' ' ) ) { while ( i < len && temp [ i ] >= ( ' ' ) && temp [ i ] <= ( ' ' ) ) { ans = ans + temp [ i ] ; i ++ ; } ans = ans + " " ; }