Hi All,
I am exporting Data to a text file.
The problem is that at the very end of each line before the return for a fresh line a null character is being placed which when opened by notepad shows as a small square box. This is messing up with another system since it is not excepting the file due to this null value.
Is there a way how I can remove this Null Character please
Thanks and Regards
0
Comments
rest depends on you n your prob.
Kashyap
Thanks for your reply,
Yes, the problem is that the null character is appearing at the end of each line just before the CR/LF. I want to keep the CR/LF but that null value just before is not allowing the other system to upload the file as it is being corrupt
example
[John, Smith][NullValue][CR/LF]
I want to remove the [NullValue]. I have already tried using the String Truncate but to no success
Regards
One line is to store the characters before null value, and the second line is to start from null value.
I have written a code one year before so I dont remember yet.... bt you can use if cond or for loop to skip the line when you reach at 10.
Kashyap
ch is a local Char variable.