wwUtils.AtC

Receives two strings and an occurence position (1st, 2nd etc) as parameters and searches for one string within another for that position. This function ignores the case of both the strings and if found, returns the beginning numeric position otherwise returns 0.

Example:
VFPToolkit.strings.AtC("d", "Joe Doe", 1);	//returns 5
VFPToolkit.strings.AtC("O", "Joe Doe", 2);	//returns 6
public static int AtC( string cSearchFor,
	string cSearchIn,
	int nOccurence );

Return Value

int

Parameters

cSearchFor

cSearchIn

nOccurence

Overloads:


See also:

Class wwUtils

© West Wind Techologies, 2018 • Updated: 07/31/07
Comment or report problem with topic