Element Access

Accessing a character in a string is very easy and similar to element access in arrays.

We'll cover the following...

The access to the elements of a string str is very convenient, because the string supports random access iterators. You can access with str.front() the first character and with str.back() the ...