Encodes a string that was can be decoded with the decode() function. The decode() and encode() functions can be used to encode a property list so that it can be embedded within another property list.
encode(str)
[h: innerPropList = encode("val1=blah ; val2=blahblah")][h: props = setStrProp(props, key, innerPropList)]