UNICODE
function UNICODE(arg1: string = null): number
Description
Returns the number (code point) corresponding to the first character of the text.
Parameters
- arg1
string
null The character for which the Unicode value will be returned.
Returns
number
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.UNICODE("example"));