Salesforce

Trim (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Trim (Magic xpa 4.x)

Removes leading and trailing blanks from a string.

Syntax:

Trim(string)

Parameters:

string: An Alpha string to be trimmed. You can type a string between single straight quotation marks (' ') or type the letter of an Alpha variable.

Returns:

The string without the leading and trailing blanks

Example:

Trim(' abc ') returns 'abc' string free of spaces.

The single straight quotation marks (' ') will not appear in the result.

See also:

LTrim, RTrim, SpecialTrimTrailingNulls

The Online and Rich Client Samples projects (program ST10 and RST10)

Reference
Attachment 
Attachment