| iMatix home page | << | < | > | >> |
![]() Version 1.91 |
#include "sflstr.h" char * insertchar ( char *strbuf, char chrtoins, int pos)
Inserts a char into a string. Returns a pointer to head of the buffer. Submitted by Scott Beasley jscottb@infoave.com
{ memmove ((strbuf + pos)+ 1, (strbuf + pos), strlen ((strbuf + pos))+ 1); *(strbuf + pos)= chrtoins; return strbuf; }
| << | < | > | >> |
![]() |