I was wondering if there's an abbreviation or a more elegant way of getting the last character of a string like in:
char lastChar = myString.at( myString.length() - 1 );
Something like myString.back()
doesn't seem to exist. Is there an equivalent?