Converting A Java Array To A ColdFusion Array

<!---
	Create a string and then split it into an array using
	the String::Split() method. This will give us an array,
	but NOT a traditional ColdFusion array. This is a read-
	only array (well, from CF's perspective).
--->
<cfset arrGirls = ToString(
	"Maria Bello,Christina Cox,Meg Ryan"
	).Split( "," )
	/>
 
<!---
	Dump out the array. You will see that it looks like a
	standard ColdFusion array (but it is not).
--->
<cfdump
	var="#arrGirls#"
	label="Array via Split()"
	/>

For Cut-and-Paste