Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions String expression for a soft return (line break)

  • String expression for a soft return (line break)

    Posted by Jon Smith on January 4, 2017 at 8:46 pm

    Hey guys. I’m trying to write a text animation expression that involves a block of text with both hard and soft returns (shift+return). Since AE character index doesn’t include things like returns I need to accommodate for them in my script. I found out that hard return escape code is “\r”. From what I can find the soft return should be “\n” but that doesn’t appear to work. Does anyone know the correct code? Is there another way to account for soft returns?

    Thanks!

    Ryan Molton replied 7 years, 4 months ago 2 Members · 1 Reply
  • 1 Reply
  • Ryan Molton

    January 2, 2019 at 9:39 pm

    Can’t imagine you still need this, but if you’re like me you’ve been casually interested in the answer for years.

    Turns out soft carriage returns are written as “\3”.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy