DotNetWikiBot Framework Documentation
Assembly: DotNetWikiBot (in DotNetWikiBot.dll) Version: 0.0.0.0
Portion of the source string.
This auxiliary function returns part of the string which begins
with some specified substring and ends with some specified substring.
Namespace: DotNetWikiBotAssembly: 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: StringPortion of the source string.