String standard functions

String standard functions :

                                           Every 'c' compiler supports a large number of string handling library functions.Given below table provides the list of frequency used functions and their descriptions..
   
                           Standard string library functions 
Functions
Descriptions
Strlen( )
Determines a length of string.
Strcpy( )
Copies a string from destination.
Strncpy( )
Copies a character of string to another string up to  the specified length.
Strcmp( )
Compares character of two strings.
Stricmp( )
Compare two strings.
Strncmp( )
Compare character of two strings up to the specified length.
Strnicmp( )
Compare character of two strings up to the specified length. ignores case.
Strlwr( )
Convert  uppercase character of a string to lowercase.
Strupr( )
Converts lowercase character of a string to uppercase.
Strdup( )
Duplicates a string.
Strchr( )
Determines a first occurrence of a given character in a string.
Strrchr( )
Determines a last  occurrence of a given character in a string.
Strstr( )
Determines a first occurrence of a given string  in a another string.
Strcat( )
Appends source string to destination string.
Strncat( )
Appends source string to destination string. up to specified length.
Strrev( )
Reverse all characters of a string.
Strset( )
Sets all character of a string with a given argument or symbol.
Strnset( )
Sets specified number of characters of string with a given argument or symbol.
Strspn( )
Finds up to what length two strings are identical.
Strpbrk( )
Searches the first occurrence of the character in a given string and then it display the string starting from that character.