Need help with two errors

toInt() has an uppercase "i"

See String() - Arduino Reference