-- Chapter 26 example: built-in methods work with the colon too.

local name = "keiko"

print(string.upper(name))   -- KEIKO  (dot form)
print(name:upper())         -- KEIKO  (colon form, same thing)

print(("hello"):rep(3))     -- hellohellohello
