We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19354
    • 7 Posts
    Hi there,

    does anybody knows how to extract a part of a document?
    I can split my document with Ditto and "truncAt" (depending on the "<!-- splitter -->"

    However, so I can print out the first part, oder the whole part.

    But if I want to extract a certain content from the middle of the content, how can I do this?

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas fringilla hendrerit nibh in iaculis. Etiam sit amet massa elit, a euismod elit.
    <!-- splitter_1 -->
    THIS IS THE PART I WANNA SHOW! Excluding all over splitter_1 and all under splitter_2. only this part between the two "splitters"
    <!-- splitter_2 -->
    Quisque et turpis nisl, ac consequat risus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec eget neque at enim mattis lacinia ac non eros.
    


    Any ideas? I can’t do it with an count, because the text will variate.
    Thx,
    mickna