Lines Matching defs:str
173 /// @param str the string to remove leading and trailing white spaces from.
175 /// @return the string resulting from the removal of white space from @p str.
177 trim_white_space(const string& str)
179 if (str.empty())
180 return str;
182 unsigned s = 0, e = str.size() -1;
185 if (!char_is_white_space(str[s]))
189 if (!char_is_white_space(str[e]))
192 return str.substr(s, e - s + 1);
1423 string str;
1428 str = read_string();
1429 if (str.empty())
1431 content.push_back(str);