StringFunctions.Between

Find the content of a string between two delimiters.

public static string Between(string src,
	string findfrom,
	string findto)

Return Value

The content of the the string between the delimiters.

Parameters

src The string to search.

findfrom The starting delimiter.

findto The ending delimiter.

Remarks

Taken from http://stackoverflow.com/questions/8082103/find-words-between-two-values-in-a-string. This is similar to the VFP STREXTRACT() function.


See also:

Class StringFunctions

© Stonefield Software Inc., 2019 • Updated: 02/12/16
Comment or report problem with topic