导出时删除引号

时间:2011-02-22 11:10:59

标签: jasper-reports quotation-marks

如何删除引号然后导出多个单词的String值?

例如:

"Compact Lamber"  
Amazonka  
Eri  
"AM 10-6-7"  

应该是:

Compact Lamber  
Amazonka  
Eri  
AM 10-6-7

谢谢!

1 个答案:

答案 0 :(得分:0)

$F{fieldName} = $F{fieldName}.replace("\"", "")