Use array notation

test["variables.self"] = 123

Ade

-----Original Message-----
From: Jeff Chastain [mailto:[EMAIL PROTECTED]
Sent: 13 March 2005 22:53
To: CF-Talk
Subject: Easiest way to have a period in a struct key?


I am needing to create a structure where the key name has a period in it and
is not evaluated as a nested structure.

For example ...

    test.variables.self = 123

..... should actually be a structure called 'test' with the key name equal to
'variables.self' and the value equal to 123.

I have been able to do this with a very ugly combination of a DE function
and a set of string functions, but I was hoping for a cleaner method.

Anybody?

Thanks
-- Jeff
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.2 - Release Date: 11/03/2005


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198608
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to