'String' has not been declared error

Whenever I see something like this:

  • text.toCharArray(Name,20);*

and given all the bad press around the String class, I wonder why you're even bothering to use a String in the first place. Just use a char array and be done with it.