previous | start | next

Strings (Member Functions)

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