#T411. 字符串的查找删除
字符串的查找删除
Description
Given a short string (without spaces), and then several strings, delete all occurrences of the short string within these strings.
Input Format
There is only one set of input data.
First, input a short string (without spaces), followed by several strings until the end of the file.
Output Format
Delete all occurrences of the short string (case-insensitive) and remove spaces, then output the result.
in
#include
int main()
{
printf(" Hi ");
}
#clude
tma()
{
prtf("Hi");
}
Hint
Note: Remove all occurrences of "In", "IN", "iN", and "in" from the string.
Source
CodesOnline