Name
stringinfo
Synopsis
stringinfoDEST
,STRING
,FLAG
Return information about a string. An integer flag selects which information to return, as listed in Table 11-2.
Arguments: IR, S, I
Table 11-2. stringinfo arguments
Flag |
Returns |
---|---|
|
Location of string buffer header |
|
Location of start of string memory |
|
Allocated length, in bytes |
|
String flags |
|
Length of string buffer currently used, in bytes |
|
String length, in characters |
Get Perl 6 and Parrot Essentials, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.