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 unicodeThe default is #PB_Unicode if the program is compiled in unicode mode and #PB_Ascii otherwise.
Returns the read string.
PokeS(), MemoryStringLength(), CompareMemoryString(), CopyMemoryString()