Left$()

Last Modified: 9/9/2021

Returns a String that contains the specified number of characters from the left side of a String.

Arguments

NameTypeRequiredDescription
Str String Yes The expression to return the leftmost characters from.
Length Integer, Long Yes The number of characters to return.

Example

Syntax: Left$(<Str>, <Length>)
    a$ = "Hello World"
    Print Left$(a$,5)

See Also

Mid$(), Right$()