Code to split a CSV string into its component parts
The subroutine shown expects a variable called ‘Data’ to be available and contain the required CSV text. This is then split into an array called return.
This versions uses a LitDev call to a function to return the components of your CSV string
This is very similar to the standard SB code except that you pass it the CSV text as a parameter which simplifies the coding but does not change the coding much.