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