previous | start | next

## Strings (Member Functions)

- The number of characters in a string is called the length of the string.
- You can compute the length of the string using the `length()` function.
- The length function is a member function, and must be invoked using the dot notation.

> Name | Purpose
> `s.length()` | The length of `s`
> `s.substr(i, n)` | The substring of length `n` of `s` starting at index `i`
> `getline(f, s)` | Read `string` `s` from the input stream `f`

previous | start | next