summary refs log tree commit diff
path: root/lib/string.fnl
diff options
context:
space:
mode:
authordozens2024-06-15 21:15:59 -0600
committerdozens2024-06-18 19:43:51 -0600
commitce09973e7cacccdc779f91b8e6e48a520b9f9f4d (patch)
treedfa96b0558981278d95395be24668b15ac03732a /lib/string.fnl
parent1250f9f057c2e21a0edab87f0a6003a25decd1b7 (diff)
feat: add end game
Diffstat (limited to 'lib/string.fnl')
-rw-r--r--lib/string.fnl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/string.fnl b/lib/string.fnl
new file mode 100644
index 0000000..510b0ed
--- /dev/null
+++ b/lib/string.fnl
@@ -0,0 +1,4 @@
+(fn capitalize [s]
+  (.. (string.upper (string.sub s 1 1)) (string.sub s 2)))
+
+{: capitalize}