cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt In File Content Conversion

Former Member
0 Kudos

HI,

I need a help on creating a header line with tab spaces

example

name <tabspace> NO <tabspace> EMP ID

i know the option of using addHeaderLine but in this how to leave the tab spaces between the header fileds.

i have tried with \t and ASCII code between the header fileds but it was not working

Kindly help me on this.

thanks in advance..

With regards

Pradee N.

Accepted Solutions (0)

Answers (3)

Answers (3)

vikas_agarwal
Contributor
0 Kudos

Hi Pradeep!!!!

I have tried yr scenario, use

record.fieldSeparator - <b>'0x09'</b> ( this is zero)

It will work for you

regards

Vikas

Message was edited by:

Vikas Agarwal

Former Member
0 Kudos

0x09, I think you just put that in as your content conversion parameter

variable.fieldSeparator 0x09

if it doesn't work, use singe quotes

'0x09'

make sure to clear SLD Data cache before testing.

Former Member
0 Kudos

Hi Pradeep,

I did like this:

i took data in notepad with tab space as field separator. copy those spaces from notepad and copy in FCC in xi

in FCC, row.fieldSeparator copy those whitespaces in the value column

this worked out for me...

try like this

ravi.

Former Member
0 Kudos

hi Ravi,

i did the way u did it is too working for me

is there any other way (by using hexa decimal values)

with regards

pradeep N.

Former Member
0 Kudos

Hi Pradeep,

i believe there is hexa decimal value or ascii value for tab. we need to give that value in single quotes.

Ravi.