String utilities.  
 More...
#include <cartobase/stream/stringutil.h>
|  | 
| static std::vector< std::string > | split (const std::string &s, const std::string &split_pattern, unsigned maxsplit=0) | 
|  | 
| static std::vector< std::string > | split (const std::string &s, const std::vector< std::string > &split_patterns, unsigned maxsplit=0) | 
|  | 
| static std::string | join (const std::vector< std::string > &strings, const std::string &join_by) | 
|  | 
| static std::string | strip (const std::string &s, const std::string &chars=" \n\t") | 
|  | 
String utilities. 
Definition at line 12 of file stringutil.h.
◆ join()
  
  | 
        
          | static std::string carto::StringUtil::join | ( | const std::vector< std::string > & | strings, |  
          |  |  | const std::string & | join_by |  
          |  | ) |  |  |  | static | 
 
 
◆ split() [1/2]
  
  | 
        
          | static std::vector<std::string> carto::StringUtil::split | ( | const std::string & | s, |  
          |  |  | const std::string & | split_pattern, |  
          |  |  | unsigned | maxsplit = 0 |  
          |  | ) |  |  |  | static | 
 
 
◆ split() [2/2]
  
  | 
        
          | static std::vector<std::string> carto::StringUtil::split | ( | const std::string & | s, |  
          |  |  | const std::vector< std::string > & | split_patterns, |  
          |  |  | unsigned | maxsplit = 0 |  
          |  | ) |  |  |  | static | 
 
 
◆ strip()
  
  | 
        
          | static std::string carto::StringUtil::strip | ( | const std::string & | s, |  
          |  |  | const std::string & | chars = " \n\t" |  
          |  | ) |  |  |  | static | 
 
 
The documentation for this class was generated from the following file: