See Also: Char, Pointer, WString, Data Types, Variables and Constants
PointerToWString converts a pointer to a WString (or Char array with two bytes per character) to a WString.
(PointerToWString ( {Pointer-value} ))
PointerToWString converts a pointer to a WString (or Char array with two bytes per character) to a WString.
Pointer pData
WString wsValue
Move (PointerToWString(pData)) to wsValue
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