===== Left (Function) =====
==== Format ====
**left**( [[stringexpressions|string_expression]], [[integerexpressions|length_expression]])
returns [[stringexpressions|string_expression]]
==== Description ====
If length is greater than or equal to zero, returns a portion of the specified [[stringexpressions|string_expression]], starting from the first character on the left and continuing for [[integerexpressions|length_expression]] characters. If length is less than zero then remove [[integerexpressions|length_expression]] characters from the left of the string.
==== Example ====
print left("Hello", 2)
print left("Hello", -2)
will display
He
llo
==== See Also ====
{{page>en:start#String Handling&noheader}}
==== History ====
|0.9.5b|New To Version|
|1.99.99.53|Added length < 0|