ChartDirector 5.1 (PHP Edition)

ArrayMath.replace


Usage

replace(a, b)

Description

Finds elements that are equal to a given value and replace it with another value.

Arguments

ArgumentDefaultDescription
a(Mandatory)The value to be replaced.
b(Mandatory)The replacing value.

Return Value

The current ArrayMath object.