Jump to content
We've recently updated our Privacy Statement, available here ×

nkrgupta

Members
  • Posts

    1
  • Joined

  • Last visited

nkrgupta's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, I'm trying to display a value after evaluating it with a regular expression. However I'm not sure what is the right way to do that, and hence not getting results. Following is the code I'm using in XML part of the jrxml. <textFieldExpression><![CDATA[( ($F{name}.matches(^.*s-)) ? ( $F{name}.substring(0,12) + "..." ) : ($F{name}) )]]></textFieldExpression> Any help would be much appreciated! Thanks
×
×
  • Create New...