I have an array that contains structures, and I want to delete one based on a URL variable. Let's say my array looks like the following:
ThisIsMy - Array
1. ThisIsMy - Structure: firstname, Bob; lastname: Jones; age: 30
2. ThisIsMy - Structure: firstname, Jane; lastname: Doe; age: 23
3. ThisIsMy - Structure: firstname, Sally; lastname: Smith; age: 28
I realize this has to be CF 101 stuff, but how in the world can I delete, say, the second structure in the array if I have delete=2 as a URL variable? All the code I've tried has resulted in a "complex object types cannot be converted to simple values" error or the dreaded "object of type class java.lang.Boolean cannot be used as an array."