Difference between revisions of "Lua:readString"

From Cheat Engine
Jump to navigation Jump to search
m
Line 27: Line 27:
  
 
=== Related Functions ===
 
=== Related Functions ===
 +
* [[ansiToUtf8]]
 +
* [[utf8ToAnsi]]
 +
* [[translate]]
 
* [[readBytes]]
 
* [[readBytes]]
 
* [[readInteger]]
 
* [[readInteger]]

Revision as of 00:56, 10 March 2017

function readString(Address, Maxlength, isWideString)

Reads the bytes at the given address and interprets them as a string

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address to read
Maxlength Integer The maximum number of characters to read. If the string does not have a 0-terminator this will be the length of the string returned
isWideString Boolean Determines if this string is read out as a widestring or a normal ascii string

See also

Related Functions