wrapped usage of string and array functions to support older IEs