Application Development and Automation 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: 
Read only

removing spaces at the end file type: binary

Former Member
0 Likes
601

how to remove spaces at the end of the output if the file type is binary ( not string )?

how to remove spaces at the end of the output if the file type is binary ( not string )?

2 REPLIES 2
Read only

Former Member
0 Likes
507

Hi there,

you can look for the ascii chart, find out what is the binary number for the space, and than delete that. I found that the space character represents by decimal 32 (0010 0000 ---> in binary). Perhaps this will help.

thanks.

Decimal->Octal->Hex>Character->Description

32--


>40
>20
->SPC----


>space

Read only

0 Likes
507

We are having a similar problem with .txt files. It is a fixed length file; and the last field at the end of the file is 3 characters. When you arrow over to the 4th caharacter it drops down to the next line. Is there anyway to stop it from dropping down to that next blank line.

I would appreciate any comments or suggestions on this.

Thanks,

Mark