Extending String Class for Integer Checking on Strings