replace

Command: replace


Synopsis
(string1) a b (string2) replace -> (string3)
[array1] a b [array2] replace -> [array3]

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

File
sli/slidata.cc
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)