MemoryStringLength()

语法

Result = MemoryStringLength(*String [, Flags])
概要
Returns the length (in characters) of the given zero terminated string.

参数

*String The address of the string to get the length from.
Flags (optional) The string format to use. 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
The default is #PB_Unicode if the program is compiled in unicode mode and #PB_Ascii otherwise.

返回值

Returns the length of the string in characters.

参阅

PokeS(), PeekS(), AllocateMemory()

已支持操作系统

所有

<- MemorySize() - Memory Index - MoveMemory() ->