>- see footer for list info -<
did this not work?
<cfset str="This package consists of 1 of product A 2 of product B 13 of
product B">
<cfset found = 1>
<cfset counter = 0>
<cfset str = replacenocase(str,"consists of","consists of<br><br>",1)>
<cfloop condition="found gt 0 and counter lt len(str)">
<cfset found = reFind(" [0-9]",str,1,0)>
<cfif found neq 0>
<cfset str = left(str,found)&"<br>"&right(str,len(str)-found)>
</cfif>
<cfset counter = counter + 1>
</cfloop>
<cfoutput>#str#</cfoutput>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: 18 November 2004 15:43
To: Coldfusion Development
Subject: RE: [CF-Dev] listgetat?
>- see footer for list info -<
Hmmm. The problem here is that I don't always control the database (as in
this case). You get what your given and thats that :-(
(A complete waste of time that 4 years at uni specialising in SSADM)
The client asking for this said oh just output the text in a text box ...
Yukk! it looks really pants!
So thats why I asked you clever guys for help.
Regards - Paul
****************************************************************************
*********************
The information contained within this e-mail (and any attachment) sent by
Birmingham City Council is confidential and may be legally privileged. It is
intended only for the named recipient or entity to whom it is addressed. If
you are not the intended recipient please accept our apologies and notify
the sender immediately, or telephone +(44) 121 303 6666. Unauthorised
access, use, disclosure, storage or copying is not permitted and may be
unlawful. Any e-mail including its content may be monitored and used by
Birmingham City Council for reasons of security and for monitoring internal
compliance with the office policy on staff use. E-mail blocking software may
also be used. Any views or opinions presented are solely those of the
originator and do not necessarily represent those of Birmingham City
Council. We cannot guarantee that this message or any attachment is virus
free or has not been intercepted and amended.
****************************************************************************
*********************
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<