wwUtils.At

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

Example:
VFPToolkit.strings.At("o", "Joe Doe", 1);	//returns 2
VFPToolkit.strings.At("o", "Joe Doe", 2);	//returns 6
public static int At( 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