Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Insert Carriage Return

  1. #1

    Default Insert Carriage Return

    Is there any way to insert a carriage return in PDI?

    I have two strings and I want to concatenate both strings but inserting in the middle a carriage return.


    String1: "My name is David and"
    String2: "I am 20 years old"


    "My name is David
    and I am 20 years old"

    Can anyone help me on how to do this?

  2. #2
    Join Date
    May 2016


    You can use something like concatenate string function, concatenating three strings something similar to this: CONCATENATE("My name is David and", UNICHAR(10), "I am 20 years old"), but you have to check the name and sintax of the CONCATENATE function, as well as the UNICHAR function, that is what I use with Report Designer, in PDI I perform that kind of operation in the Database, so I don't know if that sintax will work in PDI.
    OS: Ubuntu 16.04 64 bits
    Java: Openjdk 1.8.0_131
    Pentaho 6.1 CE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.