I’m sure this is a simple answered question. I am trying to figure out how to return more than one value in a function.
I am returning one value in this code:
Function RemoveCommas(strDisc As String)
For x=1 To Len(strDisc)
If Mid(strDisc,x,1)="," Then
Mid(strDisc,x,1)="-"
End If
Next
RemoveCommas=strDisc
End Function
I pass a string to the function through strDisc and return the value through RemoveCommas=strDisc. How can I set another value in the function and return in? In Javascript I can do it with return(x,y) – how do I do it in LS?
Thank you for any help!