There isn't a way.  However, if you assign the keys using the
struct["keyName"] format (rather than struct.keyName) then case will
be preserved.

Alternately, you can use a java.util.HashMap instead of a structure. 
You can't treat it as a structure, you have to use the java methods,
but it is case sensitive.  I've used that with great success on a
couple occasions where I needed a case sensitivity.

cheers,
barneyb

On Fri, 03 Dec 2004 13:30:41 -0400, Steve Bryant
<[EMAIL PROTECTED]> wrote:
> Does anyone know of a way to get the key from a structure with the case used 
> to create that key?
> 
> For example, if a key was set as myStruct["myKey"], does anyone know how to 
> determine that the key was "myKey" (as opposed to "MYKEY")?
> 
> Any help would be appreciated.
> 
> Thanks!
> 
> Steve Bryant
> Bryant Web Consulting LLC
> www.BryantWebConsulting.com
> 918-449-9440
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186139
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to