Marcos Placona Blog

Programming, technology and the taming of the web.

Month: September 2005

ColdFusion MX 7.0.1

Reading time: < 1 minute

The ColdFusion version 7.0.1 before codenamed as Merrimack was just released.

Download your update now!

Hierarchical Data

Reading time: < 1 minute

Here’s a very good article about working with Hierarchical Data.

Tokenizing a string with Java.

Reading time: 1 – 2 minutes

As everybody knows, this Blog should show my studies integrating CFML with other technologies.
Today I was playing with the Java class arrayList() and at some point I generated this code:
Java Tokenize

This class responsibility is to take a string and break it using spaces as delimiter. To run this example, I just needed to instantiate the object and pass my string like this:

&lt;cfset tmp = createObject(&quot;Java&quot;,&quot;token&quot;) /&gt;
&lt;cfset tmp = tmp.setTokenize(&quot;ColdFusion with;) /&gt;
&lt;cfdump var=&quot;#tmp#&quot;/&gt;

Now you should be asking yourself:
“Why do I need this code if I have the function listToArray?”

Good question… just studies…