.. | ||
internal | ||
testdata | ||
ascii.cc | ||
ascii.h | ||
ascii_ctype.h | ||
ascii_test.cc | ||
BUILD.bazel | ||
escaping.cc | ||
escaping.h | ||
escaping_test.cc | ||
match.cc | ||
match.h | ||
match_test.cc | ||
numbers.cc | ||
numbers.h | ||
numbers_test.cc | ||
README.md | ||
str_cat.cc | ||
str_cat.h | ||
str_cat_test.cc | ||
str_join.h | ||
str_join_test.cc | ||
str_replace.cc | ||
str_replace.h | ||
str_replace_test.cc | ||
str_split.cc | ||
str_split.h | ||
str_split_test.cc | ||
string_view.cc | ||
string_view.h | ||
string_view_test.cc | ||
strip.cc | ||
strip.h | ||
strip_test.cc | ||
substitute.cc | ||
substitute.h | ||
substitute_test.cc |
ABSL Strings
This directory contains packages related to std::string operations and std::string alternatives (such as character-agnostic byte manipulation packages).
Library Listing
Two library targets are available within this directory:
-
strings (
//absl/strings:strings
) provides classes and utility functions for manipulating and comparing strings, converting other types (such as integers) into strings, or evaluating strings for other usages (such as tokenization). -
cord (
//absl/strings:cord
) provides classes and utility functions for manipulatingCord
elements. ACord
is a sequence of characters that internally uses a tree structure to store their data, avoiding the need for long regions of contiguous memory, and allows memory sharing, sub-std::string copy-on-write, and a host of other advanced std::string features.
Strings Library File Listing
The following header files are directly included within the
absl::strings
library.
Alternate std::string-like Classes
bytestream.h
Abstraction of std::string for I/Ostring_view.h
Pointer to part or all of another std::string
Formatting and Parsing
numbers.h
Converter between strings and numbers. Preferstr_cat.h
for numbers to strings
Operations on Characters
ascii_ctype.h
Char classifiers like <ctype.h> but fastercharset.h
Bitmap from unsigned char -> bool
Operations on Strings
case.h
Case-changersescaping.h
Escapers and unescapersstr_join.h
Joiner functions using a delimiterstr_split.h
Split functionsstr_cat.h
Concatenators and appendersstring_view_utils.h
Utility functions for stringsstrip.h
Character removal functionssubstitute.h
Printf-like typesafe formatter
Miscellaneous
util.h
Grab bag of useful std::string functions
Cord Library File Listing
The following header files are directly included within the
absl::strings::cord
library:
The Cord
Class
cord.h
A std::string built from a tree of shareable nodes
Operations on Cords
cord_cat.h
Concatenator functions for cordscord_util.h
Utility functions for cords