Lets say i have 1 massive string (scrape of entire document), Let’s call it STR1. Within STR1 there is a bunch of text that i have called STR2.
Is there an easy way to remove STR2 contents from the contents of STR1 and output that as STR3?
Kinda like a reverse concatenate?!?!?
so STR3 would be AAAA
**Very small example, as my actual strings are hundreds of characters long, so doing a STR1.ToString.Replace(“BB”,"").Trim would not be feasible.
I have a work around by doing StringSplits but it’s involved and complex…Hoping someone has easier idea.