|
Functions |
| string | remove_leading_blanks (const string &instring) |
| | A function that removes the leading blanks of a string.
|
| string | remove_trailing_blanks (const string &instring) |
| | A function that removes the trailing blanks of a string.
|
| string | remove_extra_blanks (const string &instring) |
| | A function that removes extra blanks in a string.
|
| string | remove_all_blanks (const string &instring) |
| | A function that removes all blanks in a string.
|
| string | remove (const string &instring, const string &target) |
| | A function that removes all instances of a string.
|
| string | replace (const string &instring, const string &old_pattern, const string &new_pattern) |
| | A function that replaces all instances of one string with another.
|
| string | slice (const string &instring, int istart, int ifinish) |
| | A function to slice a string.
|
| string | remove_comments (const string &instring, const string &comment_string) |
| | A function to remove everything past a comment.
|
| vector< string > | split (const string &s, const string pattern=" ") |
| string | join (const vector< string > &ls, const string &pattern=",") |
| | joins a list of strings using "pattern" as glue
|
| string | tolower (const string &s) |
| | A function that lower-cases strings.
|
| string | operator* (int i, const string &x) |
| | i copies of a string x pasted together
|
| string | center (const string &stuff, int len) |
| | center a string in a field of a certain length
|
| string | ljust (const string &stuff, int len) |
| | left justify a string in a field of a certain length
|
| string | rjust (const string &stuff, int len) |
| | right justify a string in a field of a certain length
|