查找单元格值是否以单引号开头
Contents
[
Hide
]
Aspose.Cells现在提供样式.QuotePrefix属性来查找单元格值是否以单引号开头。在此属性之前,无法区分诸如“sample”和“‘sample”等字符串。
下面的示例代码解释了像sample和’sample这样的字符串不能用Cell.StringValue财产。因此我们必须使用样式.QuotePrefix属性来区分它们。
下面的示例代码解释了像sample和’sample这样的字符串不能用Cell.StringValue财产。因此我们必须使用样式.QuotePrefix属性来区分它们。