Write a String manipulation program [Answered]
I have two strings. One of them contains completely the entire other string. While that other string does not contain all of the first one. How do I write a program that deletes the entire chunk of the first string that the second string contains?
Pic related is an example of how the strings functions.
8 Replies
I just answered you in #help-0 but just in case:
I'm not sure this is correct
$code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
If your code is too long, post it to: https://paste.mod.gg/
So that returns the string "The quick brown fox jumps over the" @UpcraftLP
not exactly, but how about you try it ;)
You also gotta trim the space at the end.
I think it works thanks.
✅ This post has been marked as answered!