strset
Syntax
- string strset(string str, int c)
Arguments
- str
- The string to set
Return
- A pointer to the new string.
Description
- strnset sets all characters of string str to c (converted to a char).
Example
int s = strcpy(&str0, "This is the message!");
s = strset(s + strlen(str3) - 1, NULL);
Info("%s", s);
Also see
- strnset