1.Convert a string to an integer.
2.validate if a given string is numeric