RE: Trailing Whitespace

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Stephen W. Thomas (StephenWThomas_at_discussions.microsoft.com)
Date: 03/16/05


Date: Wed, 16 Mar 2005 09:15:02 -0800

Hello.

I think the trailing white spaces are stripped off because they are the
default pad characters? In the past I have went the other way and wanted to
suppress the white space and other characters. I used default pad characters
to accomplish this.

Maybe try setting the default pad character to something (default is not set
to anything and is a space) that would not exist in the message, like “*” or
something like that. That might preserve the white spaces.

Let me know if that works.

Stephen W. Thomas
http://www.geekswithblogs.net/sthomas

"Ashish Shukla" wrote:

> Hi Gurus,
>
> I have a flat file coming into BizTalk. Each line will have a continuous
> string value in it. The line is not fixed length, i.e. the string in one line
> may only be 20 characters and in the other 22 and 40 in next and so on. This
> string also has trailing whitespaces in it. When I build a schema for this
> file I basically pickup the whole line in one element and process. Everything
> is fine except that the trailing whitespaces are stripped. Is there a way to
> suppress the stripping of trailing whitespaces.
>
> Thanks and Regards
> Ashish Shukla



Relevant Pages

  • reading lines with trailing white spaces
    ... I am having very basic problem with reading lines in a file with trailing ... I will loose all the trailing spaces in the original file. ... I want to do this in Fortran (since the actual problem is somewhat ... Is there a clever way of reading lines with trailing white spaces and ...
    (comp.lang.fortran)
  • Re: Excel Formula Help
    ... White spaces are those spaces that you enter with the spacebar. ... Trailing just means located "after" as in after the visible ... of the visible characters, albeit these are not of issue here. ...
    (microsoft.public.excel)