2
A string initialized to Hello:Hello
3
A string initialized to previous string:Hello
4
A string initialized to previous string.at(1, 2):el
5
A string initialized to @:@
6
A string initialized to dec(20):20
7
n = 20 atoi(n) = 20 atof(n) = 20
10
y.prepend(x); y = Helloworld
11
cat(x, y, x, x); x = HelloworldHello
12
cat(y, x, x, x); x = worldHelloHello
13
z = x + s + + y.at(w) + y.after(w) + . = Hello, world.
16
x.at(2, 2) = r; x = Hero
17
x.at(0, 1) = j; x = jello
18
x.at(He) = je; x = jello
19
x.at(l, -1) = i; x = Helio
21
z = x.before(o) = Hell
22
x.before(ll) = Bri; x = Brillo
25
x.after(Hel) = p; x = Help
27
z = a bc; z = z.after(rxwhite); z =a bc
28
x.gsub(l, ll); x = Hellllo
29
x.gsub(r, ...); x = Hello should have been replaced by this string
30
x.gsub(rxwhite, #); x = Hello#should#have#been#replaced#by#this#string
31
z = x+y; z.del(loworl); z = Held
37
capitalize(z) = He Asked:'This Is Nathan'S Book?'. 'No, It'S Not',I Said.
38
z = replicate(*, 10) = **********
41
from split(z, rxwhite, w, 10), n words = 5:
47
z = join(w, nw, /); z =This/string/has/five/words
48
enter a word:word =abcdefghijklmnopqrstuvwxyz length = 26