Our great sponsors
-
pystring
C++ functions matching the interface and behavior of python string methods with std::string
-
string-view-lite
string_view lite - A C++17-like string_view for C++98, C++11 and later in a single-file header-only library
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I've been using this for a number of years https://github.com/imageworks/pystring Works really well especially if you are used to python strings.
There are plenty of polyfill libraries that exist for std features like this. I strongly recommend using an existing one that attempts to match the standard closely. For example this one.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- If you limit an std::string in a class to be < 15 characters, can you assume that any time the string is read it will stay on the stack due to SSO?
- GitHub - martinus/svector: Small Vector optimization
- C++ Return: std::any, std::optional, or std::variant?
- Boost.Scope: collection of scope guard utilities
- Anyone used matplotlibcpp17?