Whiteboard
An interface and tools for visualizing large and complex datasets
Functions
StringUtil.h File Reference
#include <string>
#include <iostream>
#include <sstream>
#include <vector>

Go to the source code of this file.

Functions

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 PositionAfter (string &in, string &s, int startSearchAt)
 
string Stringify (int x)
 
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 &  s,
int  startSearchAt 
)
string Stringify ( int  x)
inline
int Tokenize ( const string &  a_string,
vector< char > &  separators,
vector< string > &  tokens 
)
int Tokenize ( const string &  a_string,
vector< string > &  tokens 
)