strsubst : allow multiple Pattern/Replacement pairs
@sgougeon)
Reported by Samuel GOUGEON (Originally assigned to Aashay Singhal
-- Bug description --
strsubst : case unsensitivity & vectorization
-- Scilab error message --
-- How to reproduce the bug --
Presently, strsubst(text,search,replace) works only if
/search/ & /replace/ are 2 scalar strings. It would be nice
to be able to call strsubst() only once to replace e.g.
"e" by "E" and "ph" by "f" and .. respectively, in the same
time. That is to say, to vectorize search & replace arguments.
Moreover, an option making strsubst() unsensitive to
the case of characters or strings to be detected in text
would be appreciated.
Cheers
Samuel