Converts ANSI string representation into a unicode escape sequence of type \uxxxx.
Kernel.bdh
ToUnicode( in sSource : string ): string;
| Parameter | Description |
|---|---|
| sSource |
Source string to be converted. |
dcltrans
transaction TMain
var
sConverted : string;
begin
sConverted := ToUnicode("AaBbCc");
Print(sConverted); // "\u0061\0041\0062\u0042\u0063\u0043"
end TMain;