28.06.2013 Views

IBM Cognos Framework Manager Version 10.2.0 - Guide d'utilisation

IBM Cognos Framework Manager Version 10.2.0 - Guide d'utilisation

IBM Cognos Framework Manager Version 10.2.0 - Guide d'utilisation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Résultat<br />

'ab', 'c', 'de', 'f', 'gh', 'i'<br />

strip<br />

Supprime les caractères de tête et de fin du premier argument. Le second<br />

argument facultatif définit le jeu de caractères à supprimer. Par défaut, cette<br />

fonction supprime les blancs (espaces, tabulations, retours chariot et sauts de<br />

ligne).<br />

Syntaxe<br />

strip ( string_expression [ , set_of_characters ] )<br />

Exemple 1<br />

# sq( strip ( ’ abc ’))#<br />

Résultat<br />

'abc'<br />

Exemple 2<br />

’)#<br />

Résultat<br />

53,21<br />

substitute<br />

Recherche un motif dans une chaîne ou dans les éléments chaîne d'un tableau et<br />

remplace la première occurrence de "chaîne_motif" par "chaîne_remplacement".<br />

Syntaxe<br />

substitute ( pattern_string, replacement_string,<br />

string_expression|array_expression )<br />

Exemple 1<br />

#sq ( substitute ( ’^cn=’, ’***’, ’cn=help’ ) )#<br />

Résultat<br />

'***help'<br />

Exemple 2<br />

# csv ( substitute ( ’^cn=’, ’***’, array ( ’cn=help’ , ’acn=5’ )))<br />

#<br />

Résultat<br />

'***help', 'acn=5'<br />

Exemple 3<br />

# csv ( substitute ( ’cn=’, ’’, array ( ’cn=help’ , ’acn=5’ )))#<br />

Résultat<br />

554 <strong>IBM</strong> <strong>Cognos</strong> <strong>Framework</strong> <strong>Manager</strong> <strong>Version</strong> <strong>10.2.0</strong> - <strong>Guide</strong> <strong>d'utilisation</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!