![]() |
![]()
| ![]() |
![]()
NAMEstrdel - delete characters from beginning of string SYNOPSIS#include <publib.h> char *strdel(char *s, size_t n); DESCRIPTIONstrdel removes the first n characters of s. If n is greater than the length of the string, all characters in the string (not counting '\0') are removed but no more. RETURN VALUEstrdel returns its first argument. EXAMPLETo change all occurences of "Pascal" in the input to "Yuck!", you might do the following:
SEE ALSOpublib(3), strins(3) AUTHORLars Wirzenius (lars.wirzenius@helsinki.fi)
|