RPGspInUpper Function


Receives browser input and converts it to upper case. Equivalent to RPGspUpper(RPGspIn()).


Syntax

RPGspInUpper(name [: input type])

Part Description
name Required. Character expression representing the name of a session variable, cookie, environment variable, query string parameter, or form field.
input type

Optional. Character expression containing one of the following:

  • 'Cookie' - indicates a cookie
  • 'SessionVar' - indicates a session variable
  • 'Env' - indicates an environment variable
  • 'Input' - indicates a form field or a query string parameter

The expression is not case sensitive. If omitted, the first available input is retrieved, with priority given to Form fields and Query string parameters, then Cookies and Session variables, then Environment variables.



Example

                 C                   Eval      CNAME = RPGspInUpper('COMPANY':'Input')  
                 C                   Eval      CADDR1 = RPGspInUpper('ADDRESS1':'Input')  
                 C                   Eval      CADDR2 = RPGspInUpper('ADDRESS2':'Input')  				 				 


See Also

RPGspIn

RPGspUpper


Profound Logic Software, Inc.
www.ProfoundLogic.com
(937) 439-7925