Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
String.h File Reference

Check string is integer, floating point, number... Convert string to upper/lower cases. More...

#include <iostream>
#include <string>
#include <cctype>
#include <limbo/string/ToString.h>

Go to the source code of this file.

Namespaces

 limbo
 namespace for Limbo
 

Functions

bool limbo::is_integer (string const &s)
 check whether string represents an integer More...
 
bool limbo::is_float (string const &s)
 check whether string represents an float More...
 
bool limbo::is_number (string const &s)
 check whether string represents a number, either integer or floating point number More...
 
string limbo::toupper (string const &s)
 convert string to upper case More...
 
string limbo::tolower (string const &s)
 convert string to lower case More...
 
bool limbo::iequals (string const &s1, string const &s2)
 check two strings equal, case-insensitive More...
 
string limbo::get_file_path (const string &s)
 get relative path of a file More...
 
string limbo::get_file_name (const string &s)
 get pure name of a file (no path) More...
 
string limbo::get_file_suffix (const string &s)
 get suffix of a file More...
 
string limbo::trim_file_suffix (string const &s)
 trim the suffix of a file More...
 
string limbo::get_first_word (string const &str)
 fetch the first word of a string, assume delimiter is space or tab More...
 

Detailed Description

Check string is integer, floating point, number... Convert string to upper/lower cases.

Author
Yibo Lin
Date
Oct 2014

Definition in file String.h.