M_CommandLine_Text_TextWrapper_LeftString - adutton/commandline GitHub Wiki
Return the left part of a string in a way that compensates for Substring's deficiencies
Namespace: CommandLine.Text
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
private static string LeftString(
string str,
int n
)VB
Private Shared Function LeftString (
str As String,
n As Integer
) As StringC++
private:
static String^ LeftString(
String^ str,
int n
)F#
private static member LeftString :
str : string *
n : int -> string
- str
- Type: System.String
- n
- Type: System.Int32
Type: String