Is there a std::string::split or something similar?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp_questions

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. pystring

    C++ functions matching the interface and behavior of python string methods with std::string

    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.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. 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

    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.

Suggest a related 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?

    3 projects | /r/cpp | 8 Nov 2022
  • GitHub - martinus/svector: Small Vector optimization

    2 projects | /r/cpp | 25 May 2022
  • C++ Return: std::any, std::optional, or std::variant?

    1 project | /r/cpp | 20 Sep 2021
  • Abusing C to Implement JSON Parsing with Struct Methods

    4 projects | news.ycombinator.com | 1 Mar 2025
  • C: Simple Defer, Ready to Use

    4 projects | news.ycombinator.com | 6 Jan 2025

Did you know that C++ is
the 7th most popular programming language
based on number of references?