Forum Replies Created

  • Skye Xavier

    September 15, 2024 at 7:02 pm in reply to: Capture number of lines in Paragraph Text for expression

    I had to do a similar thing today, but I’m counting the number of lines by using carriage returns.

    Here’s the expression I used:

    const wordArray = thisComp.layer("Source Text").text.sourceText.split( '\r' );
    wordArray.length;

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