Extracts a substring from a string starting from the right-most character, based on the specified number of characters and is intended for languages that use the double-byte character set (DBCS) like Japanese, Chinese, Korean etc.
Name | Type | Description |
arg1 | string | The text string that contains the characters to extract. |
arg2 | number | A number of the substring characters, based on bytes. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.RIGHTB("Online Office", 2)); builder.SaveFile("xlsx", "RIGHTB.xlsx"); builder.CloseFile();