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 #382 background imageLoading...
Page #382 background image
Function Description
Trim-Leading Returns a string with leading spaces removed.
Trim-Trailing Returns a string with trailing spaces removed.
Upper Converts lowercase characters to uppercase.
Note: The Pack, Spread and Substitute text functions are not supported in Cognos
Transformer version 8.x and later.
Char_Length
Returns the number of characters in a string.
Syntax
char_length (string_exp)
Examples
char_length (’ABCDEFG’)
Returns the result: 7
char_length (’’)
Returns the result: 0
char_length (’ ’)
Returns the result: 1
First-Word
Returns the first word in a string.
Syntax
first-word (string_exp)
Example
first-word (’Cat sat on the mat’)
Returns the result: Cat
Left
Returns a specific number of characters, starting at the left of the string.
Syntax
left (string_exp, integer_exp)
Example
left (’ABCDEFG’, 2)
Returns the result: AB
Lower
Converts uppercase characters to lowercase.
368 IBM Cognos Transformer Version 10.1.1: User Guide

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