oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/book/str1.typ
520 bytes, 1 run
created by r1870400018:63728, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | // oracle: levels 2 4 |
| 2 | #set page(width: 220pt, height: 260pt, margin: 20pt) |
| 3 | #let s = "The quick brown fox" |
| 4 | #s.split(" ").map(w => upper(w.first()) + lower(w.slice(1))).join(" ") \ |
| 5 | #s.replace(regex("[aeiou]"), m => upper(m.text)) \ |
| 6 | #s.codepoints().len() #s.clusters().len() #s.contains("fox") \ |
| 7 | #str(12) #int("5") #float("2.5") #s.at(0) #s.position("q") \ |
| 8 | #(s.len()) #lower(s) #s.starts-with("The") #s.ends-with("x") \ |
| 9 | #"a,b;c".split(regex("[,;]")).join("|") \ |
| 10 | #("x" * 3) #"abc".rev() #range(5).map(i => str(i)).join("-") |