Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
lookingforK
lookingforK
4 Posts
ACCEPTED ANSWER

Pinned topic How to trim ParamDisplayValue('Para1') that shows trailing spaces?

‏2013-05-07T19:32:06Z |

Hi,

I create a prompt page with a parameter
'Para1'that is supposed to be part of a dynamic title.

I add a Layout Calculation for the title, and use:
ParamDisplayValue('Para1').

I run the report and find there are trailing spaces at the end of the string generated from ParamDisplayValue('Para1').

But I
can't  use TRIM function to trim ParamDisplayValue('Para1'), i.e.:
I get error message when I use
trim(TRAILING, ,ParamDisplayValue('Para1')).

How to deal with this issue and trim the string from the parameter?

Thank you in advance.