I have string like this:
"Common-edi_rack_2.1-DEV"
I want to split it into the following two strings
- Common-edi_rack
- 2.1-DEV
I want to be able to split on the last occurrence of an "_" and not on an preceding.
How can I best accomplish this task?
I have string like this:
"Common-edi_rack_2.1-DEV"
I want to split it into the following two strings