Skip to main content
Solved

Converting rich long text to comma separated text

  • July 4, 2021
  • 2 replies
  • 19 views

Hello! I have a long text field with information captured as rich text:

  • Achievement 1
  • Achievement 2
  • Achievement 3

I need these Achievements converted to a comma separated text field. How do I get the above, converted to the below?:

Achievement 1, Achievement 2, Achievement 3

Appreciate any guidance!!!

Best answer by Justin_Barrett

Try this:

SUBSTITUTE(
    SUBSTITUTE(
        TRIM({Field Name}),
        "- ", ""
    ), "\n", ", "
)

2 replies

Justin_Barrett
Forum|alt.badge.img+21

Try this:

SUBSTITUTE(
    SUBSTITUTE(
        TRIM({Field Name}),
        "- ", ""
    ), "\n", ", "
)


  • Author
  • Inspiring
  • July 5, 2021

Try this:

SUBSTITUTE(
    SUBSTITUTE(
        TRIM({Field Name}),
        "- ", ""
    ), "\n", ", "
)


Perfect, thank you!!!