cancel
Showing results for 
Search instead for 
Did you mean: 

JCo function trimming spaces

Former Member
0 Kudos

Hello,

I am trying to read a pdf file genereated within SAP. The data is is being passed back from SAP in a table. I am using JCo to read data. The code which reads each line of the tabel is :

JCO.Table detailsTable

detailsTable.getString("LINE");

Some how the trailing space is getting trimmed. Does any one know if the getString function trims trailing spaces?

Thanks

Naghman

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182294
Active Contributor
0 Kudos

Hi Naghman,

You need to check another column for special symbol. Please check the following code...

detailsTable.getString("LINE")+

(detailsTable.getString("FORMAT_COL").equalsIgnoreCase("$")?"":"\n");

Regards

Abhilash