Function regsub
regsub aRegexp substitution input
Replaces substrings matching a regular expression.
- Parameters:
- aRegexp -
A regular expression object or a string representing a regular
expression.
- substitution -
The string that will be substituted into input for each
portion matching aRegexp.
- input -
The string object where the substituions will be performed.
- Returns:
-
A new string object obtained from input by making
the substitutions.
-
Report a bug or request new features
© 2002