CellsHelperCreateSafeSheetName Method (String)

Checks given sheet name and create a valid one when needed. If given sheet name conforms to the rules of excel sheet name, then return it. Otherwise string will be truncated if length exceeds the limit and invalid characters will be replaced with ' ', then return the rebuilt string value.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public static string CreateSafeSheetName(
	string nameProposal
)

Parameters

nameProposal
Type: SystemString
sheet name to be used

Return Value

Type: String
See Also