string + .length()
String creation, concatenation, length.
Syntax
string name = "..."; name.length()
Description
std::string concatenates with +, .length()/.size() gives the length. Requires <string>.
Example
Loading editor…
Expected output
HexLibrary 10
When to use?
Text processing.