Anyone ever coded a string insert function?
I tried, but it is getting way to messy any ideas?
char name [20];
char *p;
strcpy(name, "Bob Jackson");
p = strchar(name, " ");
insert the name say "Albert" so name is now "Bob Albert Jackson"
|
Results 1 to 5 of 5
Thread: string insertThreaded View
|
Click Here to Expand Forum to Full Width |