Skip to Content
avatar image
Former Member

New line in concat function in message mapping

Did any1 succeded adding 2 xml elemnts with LF/CR ( new line ) between them?

so when I use content conversion to txt file it will put new line between this 2 elements?

I tried the following delimiters

'0x0D''0x0A'

'nl'

''0x0D''''0x0A''

nothing worked

thx

Shai

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Mar 06, 2008 at 11:01 AM

    Hi,

    USE nl like this "\n".

    Try a UDF like this and you will be done.

    //write your code here

    String New = "\n";

    String res = a Newb;

    return res;

    regards

    Aashish Sinha

    PS : reward points if helpful

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 06, 2008 at 10:57 AM

    In FCC you can use the fieldSaperator as 'nl'

    No need to concatenate these with newline char.

    If you write the target structure expected with source message, would tell you what exactly need to be done.

    Regards.

    Jeet.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 06, 2008 at 12:45 PM

    hi,

    try with '\r\n\r\n'

    Thanks

    Rodrigo

    ps:Rewards point if useful

    Edited by: Rodrigo Pertierra on Mar 6, 2008 9:47 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 15, 2011 at 05:04 PM

    HI,

    Please use '0x0D' '0x0A'.

    use one space btween '0x0D' and '0x0A'.

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded