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:
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 Placona.co.uk") />
<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…