Platform Core .NET Assemblies API
Between Method
See Also  Send Feedback
Terrasoft.Common Namespace > StringUtilities Class : Between Method
source
Source string.
startDelimiter
Start delimiter string.
endDelimiter
Start delimiter string.

Glossary Item Box

Returns substring of source placed between startDelimiter and endDelimiter. When startDelimiter or endDelimiter not presented in source returns string.Empty.

Syntax

 
C#
 
 

Parameters

source
Source string.
startDelimiter
Start delimiter string.
endDelimiter
Start delimiter string.

Return Value

Substring of source placed between startDelimiter and endDelimiter.

Remarks

Extension method for System.String class.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.