Hello,
I'm having difficulties with writing a "space free" header that I wish to attach to the top of an n-dimensional array of numbers. I have been able to append the various lines of the header to the array but I am always getting a space at the beginning and end of each string, which in my case generally corresponds to a line in the text output file. As it turns out these spaces lead to a problem when I try to open the text file in analysis software.
I've attached an example of the way I'm appending the header to the array and also shows what the "spaces" are...(the example is actually courtesy of altenbach from a previous inquiry..thanks again for the help

)
Anyway if anyone has an idea on how to correct this problem I'd appreciate the assistance.
best,
ss