需要从该字符串中删除填充字符,即"REMOVEMEHOW"
需要通过截断而不匹配大小写来删除它,我正在尝试截断缓冲区的标题部分。
#include <stdio.h>
#include <string.h>
#include <windows.h>
int main ()
{
char buffer[200]="REMOVEMEHOW**THIS IS THE REST OF THE STRING THAT IS FINE***REMOVEMEHOW";
system("pause");
return 0;
}