strLTrim Function

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Removes leading blanks from a text string.

str strLTrim(str text)

Parameters

Parameter

Description

text

The string to delete the leading blanks from.

Return Value

The string equivalent for the text whose leading blanks have been removed.

Remarks

The strLTrim function is complementary to the strRTrim function.

Example

    // Returns the text string "ABC-DEFG".
    strLTrim("   ABC-DEFG");

See also

subStr Function

strDel Function

strIns Function

strRem Function

strRTrim Function

strKeep Function

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).