Ah, I had forgotten that cf strings are java string objects under the hood.
Calling myString.split("") splits each letter of the word into an array.
I noticed that this does, however, insert an empty element into the first
position in the array, which was undesirable. To address this, I found a post
by Brian Rinaldi which mentioned a udf on cflib.org called arrayCompact (link
below) which removed the unwanted empty element in the array.
Anyway, thanks, I just wanted to post this reply for future reference in case
anyone else has this problem.
Best,
Brian
http://www.cflib.org/index.cfm?event=page.udfbyid&udfid=1564
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337428
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm