C++ String Length? - Stack Overflow
How should I get the number of characters in a string in C++? ... When dealing with C++ strings (std::string), you're looking for length() or size(). Both should provide you with the same value. However when dealing with C-Style strings, you would use str...