Whiteboard
An interface and tools for visualizing large and complex datasets
Functions
StringUtil.cc File Reference
#include "base/StringUtil.h"

Functions

int PositionAfter (string &in, string &to_find, int startSearchAt)
 
string After (string &s, string &t)
 
string Before (string &s, string &t)
 
bool Contains (string &s, string &t)
 
string After (string &s, char *t)
 
string Before (string &s, char *t)
 
bool Contains (string &s, char *t)
 
bool ContainsAt (string &s, string &t, int at)
 
int Tokenize (const string &a_string, vector< char > &separators, vector< string > &tokens)
 
int Tokenize (const string &a_string, vector< string > &tokens)
 

Function Documentation

string After ( string &  s,
string &  t 
)
string After ( string &  s,
char *  t 
)
string Before ( string &  s,
string &  t 
)
string Before ( string &  s,
char *  t 
)
bool Contains ( string &  s,
string &  t 
)
bool Contains ( string &  s,
char *  t 
)
bool ContainsAt ( string &  s,
string &  t,
int  at 
)
int PositionAfter ( string &  in,
string &  to_find,
int  startSearchAt 
)
int Tokenize ( const string &  a_string,
vector< char > &  separators,
vector< string > &  tokens 
)
int Tokenize ( const string &  a_string,
vector< string > &  tokens 
)