ltrim()

Scalar. Trims spaces from the left side of a string.

Syntax

ltrim ( string )

Parameters

string

A string.

Usage

Trims spaces from the left side of the string. The function takes a string as its argument, and the function returns a string.

Example

ltrim (' examplestring') returns 'examplestring'.