Text$ = PeekS(*MemoryBuffer [, Length [, Format]])Description
Reads a string from the specified memory address.
*MemoryBuffer The address to read from. Length (optional) The maximum number of characters to read. If this parameter is not specified or -1 is used then there is no maximum. The string is read until a terminating null-character is encountered or the maximum length is reached. Format (optional) The string format to use when reading the string. This can be one of the following values:#PB_Ascii : Reads the strings as ascii. #PB_UTF8 : Reads the strings as UTF8 #PB_Unicode: Reads the strings as unicode (default).Combined with one of the following value:#PB_ByteLength: only valid when using the #PB_UTF8 flag, the 'Length' will represent bytes (not characters). it can be useful as UTF8 have variable characters lengths.
Returns the read string.
PokeS(), MemoryStringLength(), CompareMemoryString(), CopyMemoryString()