Find if the cell value starts with single quote mark
Contents
[
Hide
]
Aspose.Cells now provides the Style.setQuotePrefix(boolean) method to find if the cell value starts with a single quote mark. Before this property, there was no way to distinguish between strings like sample and ‘sample etc.
The following sample code explains that the strings like sample and ‘sample cannot be differentiated with Cell.getStringValue() method. Therefore we must use Style.setQuotePrefix(boolean) method to distinguish them.