print() absolutely would work, but for a String without embedded zeros it's just the same.
size_t Print::print(const String &s)
{
return write(s.c_str(), s.length());
}
Probably the conversion before adds a strlen() call, but that's not a big deal IMHO.