Is there any native (cross platform) C++
function in any of standard libraries which returns the actual length of std::string
?
Update:
as we know std::string.length()
returns the number of bytes not the number of characters.
I already have a custom function which returns the actual one, but I'm looking for an standard one.