G
Guest
I'M TRYING TO RETURN EVERYTHING TO LEFT OF THE FIRST
HYPHEN IN THE FIELD AND THE WHOLE FIELD IF A HYPHEN IS NOT
PRESENT
EXAMPLE RETURN
10-0-00-00 10
20-0-00-00 20
130-0-00-00 130
7550-0-00-00 7550
NONE NONE
APPLE APPLE
HYPHEN IN THE FIELD AND THE WHOLE FIELD IF A HYPHEN IS NOT
PRESENT
EXAMPLE RETURN
10-0-00-00 10
20-0-00-00 20
130-0-00-00 130
7550-0-00-00 7550
NONE NONE
APPLE APPLE