Crystal Reports for Eclipse Designer Guide

Trim (str)

Description
The Trim function removes leading and trailing spaces from string arguments.
Arguments
  • str is a text string.
  • Returns
    String value
    Action
    The Trim function removes leading and trailing spaces from string arguments.
    Typical uses
    Use this function any time there are leading and/or trailing blanks in a text object that may interfere with an alignment of text strings, a character count, or with a calculation (if the string is eventually converted to a Number).
    Examples
    Trim("   abcde   ")
    Returns "abcde".



    SAP BusinessObjects
    http://www.sap.com/sapbusinessobjects/
    Support services
    http://service.sap.com/bosap-support/
    Product Documentation on the Web
    http://help.sap.com/