replace

Replaces all instances of from in range

  1. A replace(A range, B from, C to)
    A
    replace
    (
    A
    B
    C
    )
    (,,
    C to
    )
    if (
    isElement!(A, B)
    &&
    isElement!(A, C)
    )
  2. A replace(A range, B from, C to)

Parameters

range A

The range to replace from in.

to C

The value to replace from with.

from B

The value to be replaced in range.

Return Value

Type: A

The new range after all replaces.

Meta