Concatenating strings on the Arduino ... best method?

Almost daily we seem to have a discussion about the String class vs. C-style strings.

To save repeating the arguments for and against every day I have made a post comparing them:

http://www.gammon.com.au/forum/?id=12112

Discussed there are:

  • C-style strings
  • Arduino “String” class
  • STL “string” class
  • State machines

I have timings, plus the different amount of RAM, and also program memory, each method takes.

Nice writeup Nick.

Very nice. Definitely getting bookmarked for future responses.