|
StringExtensionsGetStringInBetween Method |
Get string in between two separators
Namespace: DrawerBackup.Native.ExtensionsAssembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntaxpublic static string[] GetStringInBetween(
this string strSource,
string strBegin,
string strEnd,
bool includeBegin,
bool includeEnd
)
<ExtensionAttribute>
Public Shared Function GetStringInBetween (
strSource As String,
strBegin As String,
strEnd As String,
includeBegin As Boolean,
includeEnd As Boolean
) As String()
public:
[ExtensionAttribute]
static array<String^>^ GetStringInBetween(
String^ strSource,
String^ strBegin,
String^ strEnd,
bool includeBegin,
bool includeEnd
)
[<ExtensionAttribute>]
static member GetStringInBetween :
strSource : string *
strBegin : string *
strEnd : string *
includeBegin : bool *
includeEnd : bool -> string[]
Parameters
- strSource
- Type: SystemString
- strBegin
- Type: SystemString
- strEnd
- Type: SystemString
- includeBegin
- Type: SystemBoolean
- includeEnd
- Type: SystemBoolean
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also