Skip to main content

How to split
a delimited string with a carriage return to create a stacked list.

Example:

Input = A:1-100+B:1-300+C:1-600

Output = A:1-100

B:1-300

C:1-600

The output will be stored in a multiline
attribute in AutoCAD 2017.

Hi @blehm Use a StringReplacer. For the Replacement Text, open the Text Editor and insert a Carriage return from the list of Special Characters.


Hi @blehm, you can use the StringReplacer to replace '+' with a carriage return.

  • Mode: Replace Text
  • Text To Replace: +
  • Replacement Text: <enter a carriage return using the Text Editor>

I can replace the delimiter but I'm still not getting the carriage return. see attached


I figured out what I was
doing wrong, I moved the stringreplacer to the output side of my dwgstyler and
it works like a charm!


THANK YOU for this!!! 🙂


Reply