Left$

Category: Strings

Back to System Functions


Signature

Left$(text As String, length As Integer)

Returns

String

Description

Returns the leftmost characters from a string.

Example

prefix$ = Left$("LunarBasic", 5)