Replace Replace an element of a list by another element. Syntax replace(List | Vector, Integer, ..., Integer, Element) Description replace(List | Vector, Integer, ..., Integer, Element) Given a list or a vector, a set of integers and an element , replace the elements in positions by the new element . Related functions Erase, Append, Index Table of Contents Syntax Description Related functions