How to get the cell's text without \a

Hello,

How can we get the cell’s without \a? Please see below code sample that demonstrates issue.

var documentBuilder = new DocumentBuilder();
documentBuilder.StartTable();
documentBuilder.InsertCell();
documentBuilder.Write("test");
documentBuilder.EndRow();
var table = documentBuilder.EndTable();

// "test\a" instead of "test"
var text = table.FirstRow.FirstCell.GetText();

Thanks!
Jan

@gojanpaolo,

Please use the following code to workaround this problem:

Document doc = new Document();
var documentBuilder = new DocumentBuilder(doc);
documentBuilder.StartTable();
documentBuilder.InsertCell();
documentBuilder.Write("test");
documentBuilder.EndRow();
var table = documentBuilder.EndTable();

var text = table.FirstRow.FirstCell.ToString(SaveFormat.Text).TrimEnd();