C++ <cstring>

The C++ <cstring> header file declares a set of functions to work with C style string (null terminated byte strings).

C++ memchr()

searches for character in string

C++ memcmp()

compares two pointer objects

C++ memcpy()

Copies block of memory from source to destination

C++ memmove()

copies memory even if there is overlapping blocks

C++ memset()

copies character to beginning of string n times

C++ strcat()

appends copy of string to end of another string

C++ strchr()

searches for character in string

C++ strcmp()

Compare two strings

C++ strcoll()

compares two null terminated string

C++ strcpy()

Copies character string from source to destination

C++ strcspn()

searches a string for characters in another string

C++ strerror()

gives description of system error code

C++ strlen()

Returns length of given string

C++ strncat()

appends string to end of another string

C++ strncmp()

compares two strings lexographically

C++ strncpy()

copies character string from source to destination

C++ strpbrk()

search characters in one string in another string

C++ strrchr()

searches last occurence of a character in string

C++ strspn()

gives length of maximum initial segment

C++ strstr()

finds first occurrence of a substring in string

C++ strtok()

Split string based on delimiter

C++ strxfrm()

transform byte string into implementation def form