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. |
Get Perl 6 Essentials 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.