Index attribute within a!update() function seems to be case insensitive

Certified Lead Developer

We often use a!update() function to update dictionary values however, it fails when a dictionary has 2 attributes with different font cases (e.g. label & LABEL)

In 21.4 I tried using the a!update() function as below:

Input

{
label:"",
LABEL:"asdf",
label3:"",
label4:"asdf"
}

Rule
a!update(ri!dict,"LABEL",123)

Output: 

{label: 123, LABEL: "asdf", label3: "", label4: "asdf"}

Is there another function that I can use to avoid this? I do not want to recreate the entire dictionary each time someone updates a single value.

  Discussion posts and replies are publicly visible