Platform Core .NET Assemblies API
LeftOf(String,Char,Int32) Method
See Also  Send Feedback
Terrasoft.Common Namespace > StringUtilities Class > LeftOf Method : LeftOf(String,Char,Int32) Method
source
String.
value
Symbol.
index
Position.

Glossary Item Box

Gets a substring located in the current instance to the left of the specified character starting with the specified position.

Syntax

 
C#
 
 

Parameters

source
String.
value
Symbol.
index
Position.

Return Value

String that is equivalent to the substring that starts with position “0” in the current instance and has length that is equal to the position of first inclusion of the specified character to the current instance. Character is searched from the index position.

Remarks

Overloaded method. Extensible method for the System.String class.

Overloaded method.

Extensible method for the 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.