j search and replace and example usage

srep =: 4 : ‘; (> {:x)&, each (#>{.x)&}. each ((>{.x) E. y) <;. 1 y'
('abc';'xyz') srep 'abc123abc456'

Advertisements