ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

String expression for a soft return (line break)

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jon Smith
String expression for a soft return (line break)
on Jan 4, 2017 at 8:46:18 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!



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]