© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
11 replies
Standard

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.
codingproblem.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

String manipulation etc
C#CC# / help
3mo ago
Optimizing some string manipulation
C#CC# / help
4y ago