Skip to Content
avatar image
Former Member

New Line in String Formula in BRFPlus

Hi Experts,

I am creating a BRFPlus rule that creates a string of characters using the Formula Expression based on the input variables in Signature. I am not able to find a function in Formula Expression for creating a New Line and then concatenating the rest of the text. Need your help. Thanks.

UK

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 23, 2017 at 10:26 AM

    Hi,

    this is not possible.

    However, it depends on where you want to use the string. If the string is used a HTML you can concatenate the corresponding tags in order to enforce a line break. Another option might be to create the single lines of your output as a string and put them into a table with one column where each row corresponds to a line in the output.

    So depending on your concrete scenario there should be a solution for that requirement although not directly via a formula function

    Best regards

    Christian

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 11, 2017 at 07:31 AM

    Hi UK,

    In the formula expression you may use whatever your consumer can understand as a line break. E.g. you may use \n for this. When passing the string to javascript or so it will be recognized as a line break. As Christian stated in HTML it is the BR element. Hence, you only need to use the concatenate function in the formula to create a string as you need it (your further processing handles it).

    Carsten

    Add comment
    10|10000 characters needed characters exceeded