SimpleString::StrCmp (2)

1. This implementation works
2. StrCmp and StrNCmp should be similarly implemented (whichever way)
3. More complete tests for both
4. @basvodde Not quite what you had in mind?
Why prefer a while loop? A for loop is a while loop with the initialization and the end-action together.

So, when you end the loop with ++ and you have a if with a return that is the same as the end-loop-return, then using a for would make more sense, right?