I have strings of the form:
something~#~something.
Essentially I am using ~#~ as a delimiter, but I would like to only split the first element from the rest of the elements.
For instance, if I had the following string:
What~#~AGreat~#~Day
I would like my first match to be “What”
and my second match to be “AGreat~#~Day.
The actual strings I’m working with look like this:
A1~#~@NP->_A1
So they’re not limited to alphanumeric characters. Can anyone help? I tried looking around for a similar problem but I can’t seem to get it working.
Thanks!
Output: