Crystal Reports for Eclipse Designer Guide

Right (str, length)

Description
Extracts the given number of text characters from the right side of the specified string.
Arguments
  • str is a text string.
  • length is a whole number indicating the number of characters to be extracted from str.
  • Returns
    String value
    Action
    Extracts the given number of text characters from the right side of the specified string.
    Typical uses
    Use this function to obtain just the right part of a string. For instance, use it to obtain the last four digits of social security numbers stored in a field.
    Examples
    Right("abcdefg", 3)
    Returns "efg".
    Right({table.SSNUM}, 4)
    Returns the last 4 digits of the social security number as a String.



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