Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC

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.


Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC
Report a bug or request new features
© 2002