ReplaceOccurrences


Name:
ReplaceOccurrences - replace the occurences of a key in a container  
Synopsis: l1 l2 l3 ReplaceOccurrences l4
Examples:
 
(L: 'Where?') (') ('') ReplaceOccurrences (L: ''Where?'')
[4 5 6 7 5 8 9] [5] [-1 -2] ReplaceOccurrences
Description:
 
Replaces all occurences of l2 in l1 by l3 and
returns the result. Works for strings and arrays.

Author:
-unknown- Diesmann? Hehl? 
Source:
/home/graber/work-nest/nest-git/nest-simulator/lib/sli/mathematica.sli