Gossamer Forum
Quote Reply
Splitting long texts
I would like to write a global which does the following:

Take the contents of a field <%Content%>
Extract the first 100 complete words - or even better upto the first (or second) paragraph ie. upto a <P> tag.
Output that selection.
Remember that this selection has been displayed.

Next time this script/global is called, it would take the following paragraph (or words 100 - 300 for instance) and output just these.

Yes, what this would amount to is being able to make a long text FLOW from one part of a page display to another! Or perhaps there's a far simpler way?
Any suggestions welcome. Thanks in advance
Charly
Quote Reply
Re: [charly] Splitting long texts In reply to
This would really be better in the Links SQL Globals/Plugins forum Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!