tokenst.cpp File Reference

Tokenize a string. More...

#include <algorithm>
#include <vector>
#include <string>
#include "babelconfig.h"

Namespaces

namespace  OpenBabel

Functions

bool tokenize (vector< string > &, const char *, const char *)
char * trim_spaces (char *string)
 Trim any trailing spaces at the end of the supplied string.
bool tokenize (std::vector< std::string > &, std::string &, const char *delimstr=" \t\n", int limit=-1)
void Trim (std::string &txt)
 remove leading and trailing whitespace from a string


Detailed Description

Tokenize a string.