ExtensionMethodsLeft(String, Int32) Method
Return left part of string
Namespace: ExtensionMethodsAssembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
public static string Left(
this string str,
int number
)
- str String
- string to parse
- number Int32
- Maximum number of characters
StringIn 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).