[TT #592][docs] Clarify docs about the case sensitivity of the debugger
[parrot.git] / examples / tutorial / 20_string_ops.pir
blob0d57d04615de2a6ee65283215028744108d587fa
1 # Copyright (C) 2007-2009, Parrot Foundation.
2 # $Id$
4 =head1 String Operations
6 Some operations are specifically for strings. Concatenation
7 is an example of this type of operation; it joins two
8 strings together to form a larger string. Like the other
9 operations we've seen, concatenation also has one form that
10 returns the result, and one form that modifies the result in
11 place.
13 =cut
15 .sub main :main
17     $S0 = "Hello"
18     $S1 = $S0 . ", "
20     $S1 .= "Zaphod!"
21     say $S1
23 .end
25 # Local Variables:
26 #   mode: pir
27 #   fill-column: 100
28 # End:
29 # vim: expandtab shiftwidth=4 ft=pir: