Trying to write to a file with fixed length fields... the problem is lets say I want to write a particular variable at the beginning of the line but in position X I need to write my next field. I know how to get the length of the variable but how do I write spaces after the variable to take up the right space?

Does that make sense...

Lets say...
Len($Something) = 10

I need to write
$Something then in position X need to write the next field...

I know I am missing something here so can someone clue me in?

Thanks
_________________________
Austin Henderson