From 15f95a3134ed82b8e65b23fad5b71ef088061970 Mon Sep 17 00:00:00 2001 From: Mike Mason Date: Wed, 5 Dec 2007 21:54:10 +0000 Subject: Made validator functions useful after load, fixed a bug in format, changed README to reflect changes git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@413 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/format.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/format.lua') 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) -- cgit v1.2.3