> 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 B
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
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 W
3 matches
Mail list logo