so i need help . We have 2 strings. We have to delete every little string which is contained in string №2 . for example : "Hello there", "llo" → "He there"
"Hello there", "e" → "Hllo thr"
"Hello there", "x" → "Hello there"
Thanks in advance
Im not very good at it . I will try to explain it better . So We have string 1 , and string 2 . like this . cin >> str1 >> str2; str1 = Hello; str2 = llo; if there is string 2 in string 1 . We have to cut it out . Tried my best :P