MemoryStringLength()
Syntax
Result = MemoryStringLength(*String [, Flags])Description
For advanced programmers. Returns the length (in characters) of the given zero terminated string. If the 'Flags' parameter isn't specified, the string is reads as unicode if the program is compiled in unicode mode, else it's reads as ascii.
The optional 'Flags' parameter can be one of the following values:#PB_Ascii : Returns the length of an ascii string, even when the program is compiled in unicode mode #PB_UTF8 : Returns the length of an UTF8 string (the program can be either in unicode or ascii mode) #PB_Unicode: Returns the length of an unicode string, even when the program is compiled in ascii mode
Supported OS
All