| 32 | } |
| 33 | |
| 34 | vector<String> split(const string& delimeter = " ") const |
| 35 | { |
| 36 | vector<string> parts; |
| 37 | boost::split(parts, s, boost::is_any_of(delimeter.c_str()), |
| 38 | boost::token_compress_on); |
| 39 | return vector<String>(parts.begin(), parts.end()); |
| 40 | } |
| 41 | |
| 42 | size_t get_length() const { return s.length(); } |
| 43 |