I have a user defined type with fixed length strings. When I print out to a file, if the string is empty, it is putting null characters in the file. I need it to just have empty spaces. I have tried reading each character using IsNull and check and replacing with " ", but it didn't work. How do I get it to print out the file with empty spaces and not nulls?