appkit  1.5.1
RoadNarrows Robotics Application Kit
StringTheory.cxx File Reference

Of string spaces and their strangian operators. More...

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <ctype.h>
#include <sstream>
#include <string>
#include <locale>
#include <vector>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "rnr/appkit/StringTheory.h"

Go to the source code of this file.

Namespaces

 rnr
 RoadNarrows Robotics.
 
 rnr::str
 String.
 

Functions

size_t rnr::str::split (const string &str, const char delim, StringVec &elems)
 
StringVec rnr::str::split (const string &str, const char delim)
 
string & rnr::str::replace (const string &what, const string &with, string &str)
 
string rnr::str::lowercase (const string &str)
 
string rnr::str::uppercase (const string &str)
 
size_t rnr::str::gcss (const string &str1, const string &str2, const size_t pos)
 
int rnr::str::tobool (const string &str, bool &val)
 
int rnr::str::tolong (const string &str, long &val)
 
int rnr::str::todouble (const string &str, double &val)
 
string rnr::str::prettify (const string &str)
 
string rnr::str::c14n (const string &str)
 
std::string rnr::str::c14n (const str::StringVec &tokens)
 Canonicalization of a list of tokens into a string. More...
 

Detailed Description

Of string spaces and their strangian operators.

Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)
Copyright
© 2016-2017. RoadNarrows LLC.
http://www.roadnarrows.com
All Rights Reserved
License:
MIT

Definition in file StringTheory.cxx.