If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Split a variable into two variables

Started by fra2578, 30 Dec 2015 07:52:28 AM

Previous topic - Next topic

fra2578

Hello everybody

i'm starting to use for first time Report Studio some days ago: It's seems a powerfull tool, but also a little complex.
Inside a report , i need to split a Package variable into two variable .
Example:
Variable1='hello guys'
Variable2='hello'  (the first value from splitting 'Variable1')
Variable3='guys'  (the second value from splitting 'Variable1')

In UserGuide, seems this can be done using a funtion like in the example:
Example 1
# csv ( split ( '::', 'ab=c::de=f::gh=i' ) ) #
Result
'ab=c', 'de=f', 'gh=i'


but
1 - it may be applied into a function, and i don't know how to use it
2 - it is based on constant value and not on other variable

Anyone can help me ?

Thank you