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:

<cfset tmp = createObject("Java","token") />
<cfset tmp = tmp.setTokenize("ColdFusion with") />
<cfdump var="#tmp#"/>

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

Good question… just studies…