0
我需要從Netsuite中的一個字符串中刪除一些空行。在Netsuite中刪除換行符/回車符字符串
由於各種原因,字符串在Netsuite中保持不變是正常的,但我需要爲高級PDF/HTML模板正確格式化它。
目前在交易表單和PDF/HTML模板上,{description}
可以(但不總是)顯示爲;
Item General description
additional item notes
additional decoration
customization notes
我需要做的是修剪這個輸出(在表格上的SQL,或在freemarker的爲模板),使{description}
會再展;
Item General description
additional item notes
additional decoration
customization notes
謝謝!完美的作品。 –
與''替換(「(
){2}」,「
」,「r」)''也可能更安全,因爲它與'
'和''和'
'一起使用。 – ddekany