Added toInt and toF methods to String