Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Removing quotes from around a string parameter
Monma
I have a master page with a header that contains a text element. Within the text element I would like to display the value of a parameter without the quotes. It seems that Birt will automatically put the double quotes because the type of the parameter is string. This is a long shot but I am hoping that someone may know how to do this.
I get the value of the parameter as follows (assume I defined the param foo with the value "aaa"):
<value-of>params["foo"]</value-of>
I would get "aaa" and I want aaa instead.
Thanks in advance.
Find more posts tagged with
Comments
mwilliams
Hi Monma,
Are you talking about a standard text box style report parameter with a default value of "aaa" wanting to just display it in the report in a text element? Just making sure I'm clear.
Monma
Correct. This is a parameter that I added to the report that will be filled at run time. I display the value of the parameter in the page but I would like to display without the quotes surrounding which are added by BIRT because the parameter has a string type.
Thank you very much for all your help you have been wonderful.
Moncef
mwilliams
Moncef,
I don't see the quotes when I display a string parameter in the report in a text element. What version of BIRT are you using? Can you recreate this issue in a way that I can run the report and see it? Thanks.
Monma
Actually it was an issue I introduced. Sorry for wasting your time.
mwilliams
No problem at all!