Theoretica
Scientific Computing
Loading...
Searching...
No Matches
strings.h File Reference

String manipulation functions. More...

#include <string>

Go to the source code of this file.

Namespaces

namespace  theoretica
 Main namespace of the library which contains all functions and objects.
 
namespace  theoretica::io
 Input and output module.
 

Functions

bool theoretica::io::is_number (const std::string &str)
 Check if a given string could be correctly interpreted as a number.
 
std::string theoretica::io::trim (const std::string &str)
 Remove all leading and trailing whitespace from a string, returning the resulting string.
 
std::string theoretica::io::unquote (const std::string &str)
 Remove leading and trailing double quotes from a string, if both are present.
 

Detailed Description

String manipulation functions.