Find the string is alphabet or numeric
The following code is used to find the given string is numeric or alphabet.