I'd like to split a string using the Split function in the Regex class. The problem is that it removes the delimiters and I'd like to keep them. Preferably as separate elements in the splitee.
According to other discussions that I've found, there are only inconvenient ways to achieve that.
Any suggestions?
the problem is that it removes...What is "it" in this situation? This is a classic question of "I can get this output, but I'd like to get this output"- a great kind of question, but one made much easier to answer if the original code (that gives close to, but not exactly, the desired output) is shown.