How do I know if I'm using the string class

see the class's funstions String() - Arduino Reference