First page Back Continue Last page Graphics
STRING CONSTRUCTORS
string s; creates the empty string s
string s(str); creates a string as a copy of the existing string str.
string s(str, stridx); creates a string s that is initialized by the characters of string str starting with index stridx.
string(str, stridx, strlen); creates a string s that is initialized by, at most, strlen characters of string str starting with index stridx.