Gordon

If you are sure of the string formad, i.e.:

    "Todays team is #team# currently at #position# in the league"

You can treat it as a space-delimited list.

  <cfset string = "Todays team is #team# currently at #position# in the league">

  <cfset theTeam = LestGetAt(string, 4, " ">
  <cfset thePosition = LestGetAt(string, 7, " ">

HTH

Dick


At 11:06 PM +0000 11/5/00, Gordon Burns wrote:
>I have a variable #longstring#.  This variable contains a string on
>the lines of:
>
>"Todays team is #team# currently at #position# in the league"
>
>This gets passed to another template as #longstring# how do I get
>this template to evaluate and display team and position which are
>values pulled from the database.
>
>I have tried evaluate but to no avail.
>
>Any suggestions seized upon with the usual enthusiasm of those
>blind to what must be obvious.
>
>TIA
>
>Gordon
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to