DOCUMENTATION CalcMe
  • language Translations of this page
    • Translations of this page
    • Català (ca)
    • Dansk (da)
    • Deutsch (de)
    • English (en)
    • Español (es)
    • Français (fr)

  1. Wiris Ecosystem Documentation
  2. CalcMe documentation
  3. Commands
  4. Programming functions
  5. Replace

en:calc:commands:programming_functions:replace

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 i subscript 1 comma... comma i subscript n and an element x, replace the elements in positions i subscript 1 comma... comma i subscript n by the new element x.

Related functions

Erase, Append, Index

Table of Contents
  • Syntax
  • Description
  • Related functions
Log In

Copyright © WIRIS 2021. All rights reserved.