This was plucked from the Luvit Snippets Wiki.
$ lit install james2doyle/string-trim
local trim = require('string-trim')
print(trim(" a string ")) -- prints 'a string'
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
This was plucked from the Luvit Snippets Wiki.
$ lit install james2doyle/string-trim
local trim = require('string-trim')
print(trim(" a string ")) -- prints 'a string'