blob: c77163e218d32163d642cc0cd10120725ece1a4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import gleam/io
import gleam/string
pub fn main() {
// String literals
io.debug("👩💻 こんにちは Gleam 🏳️🌈")
io.debug(
"multi
line
string",
)
io.debug("\u{1F600}")
// String concatenation
io.debug("One " <> "Two")
// String functions
io.debug(string.reverse("1 2 3 4 5"))
io.debug(string.append("abc", "def"))
}
|