Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 twNthOccur( cSource, cTarget, nWhich, lCase )
 ----------------------------------------------------------------------------
     Find the position of the Nth occurrence of a string in a target
     string.

       Arguments:

     cSource - 'C' String to search for.

     cTarget - 'C' String to search.

     nWhich  - 'N' Number of the occurrence to find.

     lCase   - 'L' Logical for case sensitive search. The default is
                   .F.

       Return:

     The position in the string cTarget of the nth
     occurrence of cSource or zero if not found.

       Example:

     twNthOccur( "ab", "abracadabra", 2 ) -> 8

See Also: twNoOccurs()

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