ReplaceOccurrences

Command: ReplaceOccurrences


Synopsis
l1 l2 l3 ReplaceOccurrences l4
Description

Replaces all occurences of l2 in l1 by l3 and
returns the result. Works for strings and arrays.

File
lib/sli/mathematica.sli
Author
-unknown- Diesmann? Hehl?
Examples

(L: 'Where?') (') ('') ReplaceOccurrences (L: ''Where?'')
[4 5 6 7 5 8 9] [5] [-1 -2] ReplaceOccurrences