Hi Claude
There is also a Java function that may work for you:

<cfset num = "12345678901">
<cfset digits = num.toCharArray()>

However this does not return a normal CF array, this is a Java array of
Character objects. If you want to manipulate the digits you'd probably want
to convert to a normal cf array first.

<cfset digits = listToArray(arrayToList(num.toCharArray())) >

Kevan Stannard


2009/9/8 <rai...@ozemail.com.au>

>
>
>
>
>
>
>
>
> Regards
>
> Claude Raiola
> B.Econ (Acc), B.Hot.Mngt.
>
> Websites:
>
> www.SAMARIS.NET <http://www.samaris.net>
>
> Mobile: 0414 228 948
>
>
>
> *From:* SAMARIS Software [mailto:i...@samaris.net]
> *Sent:* Tuesday, 8 September 2009 1:27 AM
> *To:* 'cfaussie@googlegroups.com'; 'coldfusion-ho...@yahoogroups.com'
> *Subject:* string manipulation
>
>
>
> I have many records that have an 11 digit number stored into one database
> field however I am wanting to break up the value to display as 11 separate
> values so I am wondering how do I separate the 11 digit value into 11
> separate values in cold fusion
>
>
>
>
>
>
>
> Regards
>
> Claude Raiola
> B.Econ (Acc), B.Hot.Mngt.
>
> Websites:
>
> www.SAMARIS.NET <http://www.samaris.net>
>
> Mobile: 0414 228 948
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to