Can you convert from an Arduino String to a C++ string

I made an autograder where students upload the code and my program runs it and checks different things. One problem I have is a lot of students use Strings in their arduino code which I need to check but I want them to be C++ strings. Is there a way to convert from arduino's String to the C++ string. I did find this stack exchange touching on my problem but not sure how to apply it to my situation.

Touch here for the full post on the Arduino Apprentices tumblr

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s