subst(stringVar,pattern,replacement[,'u'])

Takes as input a string variable, and pattern and replacement string constants. In every instance where the specified pattern is found in the input variable, the replacement string is substituted for it. If the “U” code is specified, the pattern match operation is folded to upper-case; that is, it is not case sensitive. The output is a string variable.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.