Using apostrophe and function together

Stimulsoft Reports.WEB discussion
Post Reply
petr.pavlis
Posts: 27
Joined: Sun May 15, 2011 4:16 am

Using apostrophe and function together

Post by petr.pavlis »

Hello,

I have a problem with evaluation this expression in my report:

Code: Select all

Value: '{Trim("aaa   ")}'
In this case I get error:
The error of compilation is found in the 'Report' report:
The name 'Trim' does not exist in the current context


Problem is connected with using of apostrophe and function together.

Is there any escape sequence? Can you help me?

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Using apostrophe and function together

Post by Alex K. »

Hello,

Please try to use the following code:

Code: Select all

Value: '{Stimulsoft.Report.Dictionary.StiFunctionsStrings.Trim("aaa   ")}'
Thank you.
Post Reply