Any string with spaces in it can automatically be treated as a space
delimited list.  No conversion is necessary.

Example:

<cfset myString = "This is my test string">

<cfloop list="#myString#" index="loopindex" delimiters=" ">
  <cfoutput>
    #loopindex#<br>
  </cfoutput>
</cfloop>

This will produce the output of:

This
is
my
test
string


HTH

Josh

----- Original Message -----
From: "Nagesh Kumar Deva" <[EMAIL PROTECTED]>
To: "Cold Fusion (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, May 03, 2000 9:05 AM
Subject: string to list???


> hello everybody,
>
> is there a way to convert a string into a list?? the delimeter in string &
> list to be space. is this possible??
>
> plzz help me, i am stuck with it.
>
> thanx in advance
>
> nag
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to