C-DEngine 5.105

TheCommonUtils..::..CLeft Method

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

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static string CLeft(
	string strIn,
	int count
)
Public Shared Function CLeft ( _
	strIn As String, _
	count As Integer _
) As String
public:
static String^ CLeft(
	String^ strIn, 
	int^ count
)

Parameters

strIn
Type: String
Input string.
count
Type: Int32
Number of characters to include in returned string.

Return Value

The substring, or input string if len is greater than the length of the input string.

Remarks


This function returns a substring of the input string that is at most count characters in length.