ArkScript
A small, fast, functional and scripting language for video games
|
Lots of utilities about string, filesystem and more. More...
#include <algorithm>
#include <string>
#include <vector>
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | Ark |
namespace | Ark::Utils |
Functions | |
std::vector< std::string > | Ark::Utils::splitString (const std::string &source, const char sep) |
Cut a string into pieces, given a character separator. | |
bool | Ark::Utils::isDouble (const std::string &s, double *output=nullptr) |
Checks if a string is a valid double. | |
int | Ark::Utils::levenshteinDistance (const std::string &str1, const std::string &str2) |
Calculate the Levenshtein distance between two strings. | |
Lots of utilities about string, filesystem and more.
Definition in file Utils.hpp.