- #1
Brad_Ad23
- 502
- 1
I have a visual basic program that outputs strings of numbers to a text file. However currently the output is in the form:
1 2 3 4 5
Note also the space infront of the first number as well. I need for the output to look like:
1,2,3,4,5
However, right now I can only get it to look like:
,1,2,3,4,5
So, is there a way to get rid of that first comma infront of the first number?
Current code for the output:
1 2 3 4 5
Note also the space infront of the first number as well. I need for the output to look like:
1,2,3,4,5
However, right now I can only get it to look like:
,1,2,3,4,5
So, is there a way to get rid of that first comma infront of the first number?
Current code for the output:
If (cor > min And cor < max) Then
op = op + 1
For x = 1 To r Step 1
outString = outString + " " + CStr(a(x))
Next
Print #1, outString
outString = ""
End If