Function CharRelRep() Foundation

Replaces characters if 2 substrings are found in 2 strings at the same position.

Syntax
CharRelRep( <cSearchString1>, ;
            <cString1>      , ;
            <cSearchString2>, ;
            <cString2>      , ;
            <cReplaceString>  ;
          ) --> cResultString
Return

If <cSearchString2> is found in <cString2> at the same position as <cSearchString1> is found in <cString1>, the function replaces <cSearchString2> with <cReplaceString> at this position in <cString2>. The result string is returned when no more matches are found. If no match is found at all <cString2> is returned unchanged.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.