MindFusion.Reporting for Silverlight Programmer's Guide
Left

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

Syntax

 Copy Code

string Left (
    string a,
    int length
)

Parameters

a
A string expression from which the leftmost characters are returned. If a is nullnull is returned.
length
A numeric expression indicating how many characters to return. If 0, a zero-length string is returned. If greater than or equal to the number of characters in a, the entire string is returned.

Remarks

To determine the number of characters in a, use the Len function.

See Also

Text Functions
Right Function
Len Function
Mid Function