Name
stringinfo
Synopsis
stringinfoDEST,STRING,FLAG
Return information about a string. An integer flag selects which information to return, as listed in Table 6-8.
Table 6-8. Stringinfo arguments
|
Flag |
Returns |
|---|---|
|
|
Location of string buffer header. |
|
|
Location of start of string memory. |
|
|
Allocated length, in bytes. |
|
|
String flags. |
|
|
Used length of string buffer, in bytes. |
|
|
String length, in characters. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access