Quote:
Originally Posted by nikhilgupta345
I thought trim removes the spaces in the array? Or do the blanks not get written in the file?
|
An array is not filled with spaces, it is filled with null characters. When you read name,authid,ip,etc, the array is filled with the data followed by null characters which do not need to be trimmed. Search the web for null terminated strings for more info.
__________________