Returns the number of characters in a text string.
Name | Type | Description |
arg1 | string | The text whose length will be returned. Spaces are considered as characters. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.LEN("Online Office")); builder.SaveFile("xlsx", "LEN.xlsx"); builder.CloseFile();