diff options
Diffstat (limited to 'lib/format.lua')
-rw-r--r-- | lib/format.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/format.lua b/lib/format.lua index dff5019..9c21395 100644 --- a/lib/format.lua +++ b/lib/format.lua @@ -31,6 +31,7 @@ end return lines end +--string format function to cap the beginging of each word. function cap_begin_word ( a ) --first need to do the first word local data = string.gsub(a, "^%l", string.upper) |