replace


Name:
replace - Replace a section of a string or array by a new sequence.
Synopsis:
(string1) a b (string2) replace -> (string3)  
[array1] a b [array2] replace -> [array3]

Examples:
[1 2 3 4 5 6 7] 2 3 [99 99 99 99] replace -> [1 2 99 99 99 99 6 7]  
(computer) 1 5 (are) replace ->(career)

Description:
Replaces the elements a through b in container1 by  
container2.

SeeAlso: Source:
/home/graber/work-nest/nest-git/nest-simulator/sli/slidata.cc