Page 1 of 1

Removing SPACES from VB file.

Posted: Tue Oct 27, 2020 12:59 pm
by LearnMainframe
Hi,

I have a VB file as input. In this file I need to strip off the spaces at the end of each record. Is there a way to do it and can anyone please suggest how to do it? Thank you.

Re: Removing SPACES from VB file.

Posted: Tue Oct 27, 2020 6:32 pm
by Robert Sample
First, how do you know that there are spaces at the end of each record?

Second, the easiest -- and best -- way to do this is to modify the program(s) generating the records to not add spaces to the end of the record.