Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Open dataset - Adding spaces to the end of each line in the file

Former Member
0 Kudos

Hi All

I am trying to add black spaces at the end of each record in the file and then download it to to the application server. For example the record has value

'ABCDEFGHI' then I want to add 6 blank spaces 'ABCDEFGHI      ' and then download the file to the application server.  I am using Open dataset in text mode encoding default. I have tried so many different options but nothing seems to be working.  Please help.

Regards

Neetesh

1 REPLY 1

rosenberg_eitan
Active Contributor
0 Kudos

Hi,

Try the LENGTH Addition.

Regards.