StringExtensions.Left Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Left(String, Int32)

Returns a string containing a specified number of characters from the left side of a string.

public static string Left(this string str, int length)

Parameters

str
System.String
length
System.Int32

Returns

System.String

The specified number of characters from the left side of a string.