title: JasperReports: spliting string value with delimiter
body: <p>I have a problem with <em>JasperReports</em>.  I am passing string values to a report. A specific code has included to each and every value that I’m passing, like “pre: 001”, “ab: 002”, “lv: 003”.</p>
  
  <p>Codes - “pre”,”ab”,”lv”</p>
  
  <p>As I mentioned above, each code and value can separately identify by “:” notation. 
  In <em>Java</em> I used following code to separate the code and value;</p>
  
  <pre><code>a = “pre:001”;
  String[] b = a.Split(“:”,2);
  System.out.println(b[0]);  // code
  System.out.println(b[1]);  // value
  </code></pre>
  
  <p><strong>Problem</strong></p>
  
  <p>I need to pass combined value (code+value) to the report but the text field should only appear the value portion.</p>
  
  <p>Ex:</p>
  
  <p>Input – “pre:010”</p>
  
  <p>Output-“010”   </p>