Table data receiving bad character at end

Hi Team,

I am trying to receive the text in a first row and first cell of a table. But I am receiving text with leading bad character. Please find below,
OPS~Doctype~OPS-dynamic@ProjectInfoa

It will show as “a” in this post, but in my program its some fault character generated on own and I dont have it in my Word document,
I expect the below
OPS~Doctype~OPS-dynamic@ProjectInfo
And the code I use to extract is,
table.getFirstRow().getFirstCell().getText()

The last character is ambiguous and this creates problem in my program. Please get back.

Thanks,
Prasanna

@pshanmuganathan

Thanks for your inquiry. Please use Node.toString(SaveFormat.TEXT) method to get the text of node instead of Node.getText method. Hope this helps you.

If you still face problem, please ZIP and attach your input Word document here for testing. We will investigate the issue and provide you more information on it.