• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tInputfilePositional - Preserving leading spaces?

#1 2009-04-10 16:47:00

tnewman
Member
Company: Lunexa
Registered: 2008-11-15
Posts: 194
Website

tInputfilePositional - Preserving leading spaces?

Hi,

I am using a inputPositional component to read some input but it seems it strips off leading spacesin fields that I need to preserve. Is there a way to keep them?

Input :-

             abc

Output :-

abc

I need to keep leading spaces

Thanks,


------------------
Talend Version - TIS 4.1.2
Generated Code - Java
OS - WinXP SP3 / Linux

Offline

#2 2009-04-10 18:17:49

tnewman
Member
Company: Lunexa
Registered: 2008-11-15
Posts: 194
Website

Re: tInputfilePositional - Preserving leading spaces?

Hi,

It's OK I found solution.

Uncheck 'Trim All fields' on advanced options tab for component.


------------------
Talend Version - TIS 4.1.2
Generated Code - Java
OS - WinXP SP3 / Linux

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tInputfilePositional - Preserving leading spaces?

Board footer

Powered by FluxBB