C Library Functions: String Operations

Function Header File Description
_debug_strcat string.h Concatenates two strings, checks the heap, and stores information about the operation.
_debug_strcpy string.h Copies one string into another, checks the heap, and stores information about the operation.
_debug_strncat string.h Adds a specified length of one string to another, checks the heap, and stores information about the operation.
_debug_strncpy string.h Copies a specified length of one string into another, checks the heap, and stores information about the operation.
_debug_strnset string.h Sets all characters in a specified length of string to a specified character, checks the heap, and stores information about the operation.
_debug_strset string.h Sets all characters in a string to a specified character, checks the heap, and stores information about the operation.
strcat string.h Concatenates two strings.
strchr string.h Locates the first occurrence of a specified character in a string.
strcmp string.h Compares the value of two strings.
strcmpi string.h Compares two strings without sensitivity to case.
strcoll string.h Compares two strings based on the collating elements for the current locale.
strcpy string.h Copies one string into another.
strcspn string.h Finds the length of the first substring in a string of characters not in a second string.
strdup string.h Reserves storage space for the copy of a string.
stricmp string.h Compares two strings without sensitivity to case.
strlen string.h Calculates the length of a string.
strncat string.h Adds a specified length of one string to another string.
strncmp string.h Compares two strings up to a specified length.
strncpy string.h Copies a specified length of one string into another.
strnicmp string.h Compares two strings up to a specified length, without sensitivity to case.
strnset string.h Sets all characters in a specified length of string to a specified character.
strpbrk string.h Locates specified characters in a string.
strrchr string.h Locates the last occurrence of a character within a string.
strrev string.h Reverses the order of characters in a string.
strset string.h Sets all characters in a string to a specified character.
strspn string.h Locates the first character in a string that is not part of specified set of characters.
strstr string.h Locates the first occurrence of a string in another string.
strtok string.h Locates a specified token in a string.
strxfrm string.h Transforms strings according to locale.


Alphabetical Listing of IBM C and C++ Compilers Functions and Macros