method replaceValueAtIndex

void replaceValueAtIndex(int32 index,value aValue);

Argumente

Zurückgegebener Wert

This method replaces the value at the specified index with the provided value.
var arrayObj = shell.serviceManager.basics.array;
arrayObj.addValue("a");
arrayObj.addValue("b");
arrayObj.addValue("c");
arrayObj.replaceValueAtIndex(1, "d");