DotNetWikiBot Framework Documentation
This auxiliary function returns part of the string which begins with some specified substring and ends with some specified substring.

Namespace: DotNetWikiBot
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0

Syntax

C#
public static string GetSubstring(
	string src,
	string startTag,
	string endTag
)

Parameters

src
Type: System..::..String
Source string.
startTag
Type: System..::..String
Substring with which the resultant string must begin. Can be null or empty, in this case the source string is returned from the very beginning.
endTag
Type: System..::..String
Substring that the resultant string must end with. Can be null or empty, in this case the source string is returned to the very end.

Return Value

Type: String
Portion of the source string.

See Also