As well as sprintf and sscanf, the UNIX system has a number of other string handling functions within its libraries. A number of the most useful ones are contained in the <strings.h> file, and are made available by putting the line
#include <strings.h>
near to the head of your program file.
A couple of the functions are described below.
A full list of these functions can be seen using the man command by typing
man 3 strings