Skip to main content

14 docs tagged with "strings"

View all tags

Boost.Format

boost::format gives you type-safe, positional string formatting using a printf-inspired

Boost.LexicalCast

boost::lexical_cast(source) converts between text and almost any type with a single, uniform

Boost.Regex

boost::regex is a regular expression engine for C++ that supports Perl and POSIX syntax. It

Boost.StringAlgo

boost::string is a collection of generic string algorithms — case conversion,

Boost.Tokenizer

boost::tokenizer breaks a string into tokens using pluggable separator functions. It

KMP & the Z-Algorithm

The naive substring scan tries the pattern at every text position and, on a mismatch, throws away

String Fundamentals

Every algorithm in this folder assumes a cost model for three operations that look free and are

String Handling

C++ provides std::string_view (C++17) for non-owning string references. Rich API for searching, modifying, and converting text data.

String Operations

pandas provides string methods through the .str accessor. These methods work on Series containing strings and are essential for text data cleaning.

Strings & Text

A string is an array — but three things about it break the assumptions the rest of this section

Tries (Prefix Trees)

A hash set answers "is this exact string in the set?" and nothing else. It cannot answer "what strings