I have a string of text that I want to break into two separate strings of text.
Here’s an example:
- This is an example string of text / I want to break it into two separate strings of text
I want all of the words that precede the “/” to be one string of text. And then I want all of the words that come after the “/” to be a separate string of text. I want to completely eliminate the “/”.
So, to recap, we start with this:
- This is an example string of text / I want to break it into two separate parts
And then we end-up with this:
- This is an example string of text
- I want to break it into two separate parts