1 # Copyright (C) 2007-2009, Parrot Foundation.
4 =head1 String Operations (continued)
6 To find the length of a string in PIR, use the length opcode. It works on
7 any variable containing a basic Parrot string, but not the String PMC.
8 C<length> returns an integer value, and 0 means an empty string.
20 text = "longer string"
30 # vim: expandtab shiftwidth=4 ft=pir: