CF Array = Java ArrayList

Mike Nimer has posted a comment which i thought would be good to share on Ryan Guills blog about how CF Arrays are basically Java ArrayLists. This was to demonstrate a bascis array find instead of converting an array to a list then doing a listFindNoCase:
<cfset myList = "mike,bob,john">
<cfset a = listToArray(myList)>
<cfoutput> #a.contains("bob")# - #a[a.indexof("bob") + 1]# </cfoutput>