diff options
Diffstat (limited to 'lib/string.fnl')
-rw-r--r-- | lib/string.fnl | 4 |
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} |