Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>charrela()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CHARRELA()
 Correlates the character positions in paired strings
------------------------------------------------------------------------------
 Syntax

     CHARRELA(<cSearchFor1>,<cString1>,<cSearchFor2>,
        <cString2>) --> nPosition

 Arguments

     <cSearchFor1>  Designates the character that is searched for in
     <cString1>.

     <cString1>  Designates the character string to search with
     <cSearchFor1>.

     <cSearchFor2>  Designates the character that is searched for in
     <cString2>.

     <cString2>  Designates the character string to search with
     <cSearchFor2>.

 Returns

     CHARRELA() returns the positions where <cSearchFor1> and <cSearchFor2>
     occur in the corresponding character strings.

 Description

     This function builds a relationship (CHAR RELAtion) between two
     character strings.  It determines the positions where the characters in
     <cSearchFor1> appear in <cString1> and  where the characters in
     <cSearchFor2> appear in <cString2>.

 Note

     .  The function returns a value of 0 if no relationship is found.

 Example

     Search for the first position in which a "b" appears in the first string
     and a "1" appears in the second:

     ? CHARRELA("b", "b b b b", "1", "bbb11111")      // 5


See Also: CHARRELREP()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson