#include <stdio.h>
#include <string.h>
int main () {
const char str[] = "http://www.yiibai.com";
const char ch = '.';
char *ret;
ret = strchr(str, ch);
printf("String after |%c| is - |%s|/n", ch, ret);
return(0);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265268.html