Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions adding a line to text

  • adding a line to text

    Posted by Jamie Bradshaw on July 15, 2008 at 3:14 pm

    Hi all. I’m pretty sure this has been covered somewhere in here before, but I am having trouble locating it.

    Basically, I am after the expression that will allow me to add a line to the text

    For example:

    str = “line 1” + expression + “line 2”

    Thanks

    Jamie Bradshaw
    Motion Graphic Artist
    https://www.vimeo.com/jimjam

    Jamie Bradshaw replied 18 years ago 1 Member · 2 Replies
  • 2 Replies
  • Jamie Bradshaw

    July 15, 2008 at 3:20 pm

    Okay I’ve found this one out myself…

    For anyone interested this is what I was after…

    str = “line 1” + “\r” + “line 2”;

    Jamie Bradshaw
    Motion Graphic Artist
    https://www.vimeo.com/jimjam

  • Jamie Bradshaw

    July 15, 2008 at 3:27 pm

    Hmm it looks like the backslash got lost there.

    So just for the record, there should be a backslash before the r in that last expression

    Cheers

    Jamie Bradshaw
    Motion Graphic Artist
    https://www.vimeo.com/jimjam

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