Previous Topic: LPAD Function--Pad a Source String on the Left

Next Topic: MAX Function--Determine the Larger of Two Values

LTRIM Function--Remove Leading Spaces in a String

The LTRIM function returns a string representing the source_string with any leading spaces removed.

Syntax

The LTRIM function has the following format:

LTRIM(source_string)

Parameters

The LTRIM function accepts the following parameter:

source_string (string)

Return Value

The LTRIM function returns a string.

Example

Return_value=LTRIM('  Juan ')
Return_value='Juan '

More information:

RTRIM Function--Remove Trailing Spaces from a String


Copyright © 2010 CA. All rights reserved. Email CA about this topic