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
Argument
Default
Description
a
(Mandatory)
The value to be replaced.
b
(Mandatory)
The replacing value.
Return Value
The current ArrayMath object.
© 2014 Advanced Software Engineering Limited. All rights reserved.