@DJSures
Thanks for clearing that up! I did have the commas, neglected to add a spaces as you did in your example
I ran a test and adding the spaces to my code worked and I found out there was no need for the parentheses
Code:
ClearVariables()
$x = "1, 2, 3, 4" # note the spaces
$val = split($x, ",", 3)
print($val)
$x= "1,2,3" # note NO spaces
$val= Split( $x, "," , 0 )
Print( $val)
$x= "1 ,2, 3" # added spaces
$val = split($x, "," , 0 )
Print( $val)
$x= ("1, 2, 3") # added space and parentheses
$val = split($x, "," , 0 )
Print( $val)
Thanks for the quick response
Frank