blob: ef05845c0949fc7523ee9e06ab0b55dfa8c991a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
------------
-- Get length of string.
-- A (silly) module which returns a single function
--
-- @module func
-- @string some text
-- @param opts multibyte encoding options
-- @string opts.charset encoding used
-- @bool opts.strict be very pedantic
-- @bool verbose tell the world about everything
-- @return its length
return function(s,opts,verbose)
return #s
end
|