So I have a string that is retrieved from my database. The returned value could be laid out like
VD-6||CL-4
or just
VD-6
I need the value after the hyphen. so for instance if it returned
VD-12||CL-5
I need to extract "12" from that string.
Any help is appreciated.