cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Want to add NEW LINE CHARACTER in mapper

mohit
New Contributor

I am trying to add new line character between three of my contents but it is not allowing me. Can anyone tell how new line character can be used in Mapper.
Below is my mapper expression.
$Address+ \n +$Name+ \n+$Age

I want an output like below.
Address
Name
Age

Can anyone suggest something.

Thanks in advance

6 REPLIES 6

shreegeet
New Contributor II

have you tried thisโ€“> $Address+ "\n" +$Name+ "\n"+$Age

Yes, I tried this but it reads this as string write down the same in the output.

myeddula
New Contributor

Try this code you will get a solution :$Address+โ€™ \nโ€™ +$Name+ โ€˜\nโ€™+$Age

Ramesh
New Contributor

Is this solution working ? Because I have tried with similar manner but it is adding \n to my string