The page located at /en/Reference/StringObject does not reference the toInt() function of the String object. I have found example sketches that use the toint() function and have used it myself. It would be nice if this was included in the reference documentation.