Skip to content
Paolo edited this page May 18, 2021 · 2 revisions

StringSuite

StringSuite is a C++20 framework build to manage string manipulation in an encoding-aware way.

Building and installation

StringSuite can be built and installed via cmake (3.20 or greater) in the standard way: for example on Linux platforms once you clone this repository simply execute in your shell

cmake -S /src -B build
cmake --build build
cmake --install build

On Windows platforms the proceeding is similar.

Usage

You can include this library in your C++ project by adding this line

#include <strsuite/encmetric.hpp>

if you want to use also the tokens parsing module include also

#include <strsuite/tokens.hpp>

Remember to link StringSuite library to your executable, for example with gcc type

g++ -std=c++20 main.cpp -lstrsuite
Clone this wiki locally