<cfset category = listToArray(category) />
<cfdump var="#category#" />

On 8/23/07, nicolai bass dh <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i´m a CF newbie and i have a question:
>
> I want to explode a variable into the single values. For example:
> <cfset category="one,two,three">
> I want to known the single values, seperated by "," and want to place them in 
> an array.
>
> I know the PHP function explode(). Is there a similar function in CF?
>
> Thanks a lot & with best regards.
>
> Nic.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286945
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to