I have the below string which is currently in one column, called Column1, in a table called dbo.faresnumb
Column1
512.65USD/52.65USD/0167025354825
I want to create three new columns from this string called Fare1, Fare2, Number1 like below
Fare1 Fare2 Number1
512.65USD 52.65USD 0167025354825
So the delimter is the / and the character count will not always be the exact same. For example, Fare1 could be 54.00USD rather than 512.65USD and I still need to capture everything before the first /. I know is SAS there is a way to scan a substring to find a delimiter and assign new variables, but I am new to SQL. Any help would be much appreciated!
Thanks, Bennett