EasyManuals Logo

IBM Cognos User Manual

IBM Cognos
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #383 background imageLoading...
Page #383 background image
Syntax
lower (string_exp)
Example
lower (’ABCDEFG’)
Returns the result: abcdefg
Position
Returns the starting position of string_exp1 in string_exp2. The first character in a
string is at position one.
Syntax
position (string_exp1, string_exp2)
Examples
position (’DEF’, ’ABCDEF’)
Returns the result: 4
position (’Z’, ’ABCDEFGH’
Returns the result: 0
Reverse
Reverses the characters in a string.
Syntax
reverse (string_exp)
Example
reverse (’ABCDEF’)
Returns the result: FEDCBA
Right
Returns a specific number of characters, starting at the right of the string.
Syntax
right (string_exp, integer_exp)
Example
right (’ABCDEFG’, 3)
Returns the result: EFG
String-to-Integer
Returns the integer representation of string_exp.
Syntax
string-to-integer (string_exp)
Appendix F. IBM Cognos Transformer Expression Editor 369

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM Cognos and is the answer not in the manual?

IBM Cognos Specifications

General IconGeneral
DeveloperIBM
Data Sourceflat files
Operating SystemMicrosoft Windows
LicenseCommercial
Input SourcesSQL databases, Excel, CSV
PlatformMicrosoft Windows