📜  c substring - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:44.728000             🧑  作者: Mango

代码示例2
//where we want the word "test" and we know its position in the string
char *buff = "this is a test string";
printf("%.*s", 4, buff + 10);