LOWER
Converts all letters in a text string to lowercase.
Syntax
expression.LOWER(arg1);
expression - A variable that represents a ApiWorksheetFunction class.
Parameters
| Name | Required/Optional | Data type | Default | Description |
|---|---|---|---|---|
| arg1 | Required | ApiRange | ApiName | string | The text to convert to lowercase. The text characters that are not letters are not changed. |
Returns
string
Example
Convert text to all lowercase letters in a spreadsheet.
// How do I change "HELLO" to "hello" in a spreadsheet?
// Transform mixed case text into lowercase in a spreadsheet.
let worksheet = Api.GetActiveSheet();
let func = Api.WorksheetFunction;
worksheet.GetRange("A1").SetValue(func.LOWER("Day"));