i have a problem with splitting a column into two columns. I want to split the column by the first and last found pattern '-'. Maybe this is trivial.
Here is my column:
col1
0 aa-bb-cc-dd
1 aa-bb-cc
2 aa-bb-cc
3 aa-bb-cc-dd
This is the frame i want as result:
col1 col2
0 bb-cc dd
1 bb cc
2 bb cc
3 bb-cc dd
Thanks in advance!