Hi
I have a 'news' table featuring, er, news stories about arts organisations. I'd like 
to pull one at random and feature it on the front page of the site. I've managed that 
no problem. But some of the news items are rather long, and what I'd like to do is 
just feature the first two or three sentences.

so is there any way (regex?) of truncating the text at the third full stop; and is 
there anyway of knowing whether this is _all_ the text or whether there is more that 
has been truncated? I'd like to output one of two links:

'read the rest of this news item' if there is more text which has been truncated out, 
or
'read more news stories' if in fact the three sentences that appear was the whole news 
item.

anyone any ideas?

TIA

Ian W 

Ian Westbrook,
FutureDream Media Limited,
(W): www.futuredream.net
(E): [EMAIL PROTECTED]
(T): +44 (0) 1303 258 985
(M): 07939 510 812

This message may contain information which is legally privileged and/or confidential. 
If you are not the intended recipient, you are hereby notified that any unauthorised 
disclosure, copying, distribution or use of this information is strictly prohibited. 
Such notification notwithstanding any comments, opinions, information or conclusions 
expressed in this message are those of the originator, not of FutureDream Media Ltd, 
unless otherwise explicitly and independently indicated by an authorised 
representative of FutureDream Media Ltd.

Reply via email to