PointerToWString
See Also: Char, Pointer, WString, Data Types, Variables and Constants
Purpose
PointerToWString converts a pointer to a WString (or Char array with two bytes per character) to a WString.
Return Type
Syntax
(PointerToWString({Pointer-value}))
What It Does
PointerToWString converts a pointer to a WString (or Char array with two bytes per character) to a WString.
Example
Pointer pData
WString wsValue
Move (PointerToWString(pData)) to wsValue
Example
In the example below, since sValue is a UTF-8 string, the whole operation is doing an implicit conversion from WString to String.
Pointer pData
String sValue
Move (PointerToWString(pData)) to sValue