Buck is quite correct -- just changing the new_String() prototype should solve the problem. Maybe change it to 65535 just to give yourself some "breathing room".

On 6.1 or higher, you could technically make it allow up to 16mb strings -- though, I don't know if that would impact performance? But, 65535 should be reasonable at any release.

On 7/23/2013 1:49 PM, tim.dclinc@xxxxxxxxx wrote:
i am trying to write data to a cell, but its only taking the first 1024
characters.

p9enote is 32000 long...

Row = HSSFSheet_createRow(sh_narrative : row#);
Cell = HSSFRow_createCell(Row: 0);
jstring = new_String(%trim(p9enote));
HSSFCell_setCellValueStr(Cell: jstring);

any way to bypass this apparent limit?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.