Adding a prototype toInt function in String Utils.