String.fromUcs2Hex()
Convert a string of UCS2 hex to a string of text.
Parameters
UCS2 hex string
Return Value
This API returns a string value.
Exception Handling
An error can be thrown if an invalid hex value is passed to the API.
Example
pjs.define("var5", { type: 'ucs2', length: 26, varying: true, initValue: String.fromUcs2Hex('01230123') });
//var5 = ģģ
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!