5 Replies Latest reply on Apr 6, 2016 9:31 AM by VWu

    Slice first few paragraphs from a string in order to use for replacing text in other textframe

    VWu Level 1

      Hi all,


      What I'm trying to do is to replace the text in Text Frame 1 with text in Text Frame 2, but before I do so,

      I need to extract few paragraphs from Text Frame 2 and remove the rest I don't need.

      I came across with String.slice method, but I know the counts is referring to the characters.

      I wonder if I only want the first 3 paragraphs, what is the best way to do it?


      Thank you so much!