FlightGear next
string_utilities.h File Reference
#include <string>
#include <sstream>
#include <iostream>
#include <vector>
#include <stdio.h>

Go to the source code of this file.

Functions

std::string & trim_left (std::string &str)
 
std::string & trim_right (std::string &str)
 
std::string & trim (std::string &str)
 
std::string & trim_all_space (std::string &str)
 
std::string & to_upper (std::string &str)
 
std::string & to_lower (std::string &str)
 
bool is_number (const std::string &str)
 
std::vector< std::string > split (std::string str, char d)
 
std::string replace (std::string str, const std::string &old, const std::string &newstr)
 

Function Documentation

◆ is_number()

bool is_number ( const std::string & str)
extern

◆ replace()

std::string replace ( std::string str,
const std::string & old,
const std::string & newstr )
extern

◆ split()

std::vector< std::string > split ( std::string str,
char d )

◆ to_lower()

std::string & to_lower ( std::string & str)
extern

◆ to_upper()

std::string & to_upper ( std::string & str)
extern

◆ trim()

std::string & trim ( std::string & str)
extern

◆ trim_all_space()

std::string & trim_all_space ( std::string & str)
extern

◆ trim_left()

std::string & trim_left ( std::string & str)
extern

◆ trim_right()

std::string & trim_right ( std::string & str)
extern