Crystal Reports for Eclipse Designer Guide

UpperCase (str)

UpperCase and UCase (str) are equivalent functions.
Description
UpperCase returns the text string or text value in the data field in upper case (capital letters).
Arguments
  • str is a text string.
  • Returns
    String value
    Action
    UpperCase returns the text string or text value in the data field in upper case (capital letters).
    Typical uses
    A good use of this function is when a field contains both uppercase and lowercase letters and you want to convert all letters to uppercase for consistency.
    Examples
    UpperCase("Description")
    Returns "DESCRIPTION".
    UpperCase({customer.FIRST NAME})
    Returns "RONALD", where {customer.FIRST NAME} contains "Ronald".
    UpperCase("Ronald Black")
    Returns "RONALD BLACK".
    UpperCase("abc12345")
    Returns "ABC12345".
    UpperCase("BrEaD "  + "AND "   +  "bUtTeR" )
    Returns "BREAD AND BUTTER".



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