[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FT_FINDITH()
Find the "ith" occurrence of a substring within a string
------------------------------------------------------------------------------
Syntax
FT_FINDITH( <cCheckFor>, <cCheckIn>, <nWhichOccurrence> ;
[, <lIgnoreCase> ] ) -> <nStringPosition>
Arguments
<cCheckFor> is the string to search for.
<cCheckIn> is the string to search.
<nWhichOccurrence> is the number of the occurrence to find.
<lIgnoreCase> is a logical indicating if the search is to be case
sensitive. The default is no case sensitivity (.F.).
Returns
The position in the string cCheckIn of the ith occurrence of cCheckFor.
Description
This function finds the position in a string of the "ith" time another
string appears in it.
Examples
// Find the Position in cMemoString of
// the 10th Occurrence of "the", case
// insensitive
nNextPosition := FT_FINDITH("the", cMemoString, 10)
Source: FINDITH.PRG
Author: David Husnian
See Also:
FT_AT2()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson