Function WordRepl() Foundation

Replaces words (2 byte sequences) in a string with a specified word.

Syntax
WordRepl( <cSearchWords>   , ;
          <cString>        , ;
          <cReplaceWords>  , ;
          [<lSkipTwoBytes>]  ;  // Default: .F.
        ) --> cResultString
Return

Returns a string where the words defined with <cSearchWords> are replaced with the corresponding word specified with <cReplaceWords>.

Description

When the parameter <lSkipTwoBytes> is set .T. the function skips wordwise (two bytes) through <cString>. By default it skips character by character through <cString>.

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.