First page Back Continue Last page Graphics
STRING MEMBER FUNCTIONS
(cont.)
replace( ) Replaces characters
+ Concatenates strings
==, !=, <, <=, >, >=, compare( ) Compare strings
size( ), length( ) Return the number of characters
max_size( ) Returns the maximum possible number of characters
empty( ) Returns whether the string is empty
capacity( ) Returns the number of characters that can be held without reallocation.