If I create a string array…
Dim OutPut as String
Dim MyArray () as String
then loop through a string character by character adding it to the array…lets say “Hello World”…each character represented by CurrentChar as such:
MyArray.Append CurrentChar
then do the following:
Output = Join (MyArray)
Output returns “H e l l o W o r l d” when it should return “Hello World” am I correct?
Its inserting spaces where none should (or do) exist…
(The above is a test I performed as im actually performing something similar on binary data… which is corrupted by the join function…so i tested simple readable strings…but if I put the following in place of the Join () function it works? !? (Very inefficient as join is quicker and id prefer using. …)
for I as integer = 0 to MyArray.Ubound
output = output + MyArray (I)
Next
The output is correct with no inserted space)
Ive never had this issue with join before :-/