Programmer's Guide > Interfaces > StringList interface > setItem method
  
setItem method
Replaces the indexth item in the collection with a new value. If index is greater than or equal to the number of strings in the list, this expands the list filling with null values.
setItem(nodeindex, value)
Parameters
unsigned longnodeindex
Index into the collection.
Stringvalue
New value to store into the collection, which may be null.
Returns
void