wwUtils.StrExtract

Receives a string along with starting and ending delimiters and returns the part of the string between the delimiters. Receives a beginning occurence to begin the extraction from and also receives a flag (0/1) where 1 indicates that the search should be case insensitive.

Example:
string cExpression = "JoeDoeJoeDoe";
VFPToolkit.strings.StrExtract(cExpression, "o", "eJ", 1, 0);		//returns "eDo"
public static string StrExtract( string cSearchExpression,
	string cBeginDelim,
	string cEndDelim,
	int nBeginOccurence,
	int nFlags );

Return Value

string

Parameters

cSearchExpression
cBeginDelim
cEndDelim
nBeginOccurence
nFlags

Overloads:


See also:

Class wwUtils

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