Truncated data length

Options
kumargr
edited February 11, 2022 in Analytics #1
<p>hi, <span style="font-size:14px;">Is there a way to find out the length of the truncated data? Say the data has 100 characters and only 70 are printed and rest are truncated. Is there a way to find out that it has truncated at 70th place? Any help is much appreciated.. Thanks</span></p>

Comments

  • <p>What version of BIRT are you using?<br>
    Are you referring to text being displayed in a data element in a table or a different element type?</p>
    <p>What is your requirement for needing this information?</p>
    Warning No formatter is installed for the format ipb
  • <p>hi J.Freeman,</p>
    <p>Thanks for the reply.<br>
    I am using V.4.3.2. And yes it is a Text item inside table.</p>
    <p>Requirement is, i want to print the remaining text in the last page(its the continuation page) if it exceeds the allotted cell's space. So the count is necessary.</p>
  • <p>Why not include the entire text on the continuation page versus only a portion of the text based on where it is truncated?</p>
    <p>That will prevent users from having to flip between the two pages to understand where the continuation starts.</p>
    Warning No formatter is installed for the format ipb
  • <p>Hi, <br>
    Partial data will be printed in the main page, and if there's more, complete data will be again printed in the continuation page. These are regulatory reports, so we have to do it as per their design. We need the count to understand basically, how much data can accommodate in the main page, so that we can restrict it(in XML) from the code.</p>
  • <p>We design XML by code, so it varies and is difficult to determine at what point it exceeds limit and truncates. So, if the limit is known, we can compare it to the data string and make it to print in Continuation Page if more or avoid creating continuation page tags if data completely fits in main page itself. Thus, handle it from code.</p>
  • <p>Can anyone throw light on this pls?</p>