String.h
string.h is the C standard library header declaring functions for manipulating strings, character arrays, and related memory sequences.
Modern C, Third Edition
string.h is the C standard header that declares functions for manipulating strings and related memory sequences.
- How it is used
- Supports string manipulation and bounded operations on character arrays within the C standard-library interface.
- How deep it goes
- Defines function families, termination rules, size constraints, and a combined copying example without descending into implementation internals.
- Examples
- Uses argv[0], strlen, memcpy, strcmp, and a variable-length array to verify a copied program name.
- What you can do after
- Apply string.h functions to copy, compare, search, and measure terminated strings or bounded character arrays.
Modern C
string.h is the C standard library header declaring functions for manipulating character arrays and null-terminated strings.
- How it is used
- Provides C interfaces for copying, comparing, searching, and measuring character arrays and null-terminated strings.
- How deep it goes
- Defines representative functions, declarations, and termination requirements, but stops short of deeper implementation details.
- Examples
- Uses program-name copying and multiple character-array initializations to expose lengths, terminators, and destination sizing.
- What you can do after
- Apply string.h functions while checking zero termination, array lengths, and destination capacity.
Related concepts
- text processingused by · Text processing is the computational manipulation, transformation, parsing, analysis, or generation of textual or character-based data.
- strlenconfigures · strlen is a C library function that returns the number of characters in a null-terminated string before its terminating null character.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

