C extension for fast string methods

$ luarocks install stringy

Includes fast methods for endswith, startswith, split, strip, find
and count. Implementations of split and strip from the wiki and book.
Implementation of find and count use python's fastsearch.
Usage is:

> stringy = require "stringy"
> = stringy.strip(" asdf ")
asdf

> = table.concat(stringy.split("aXbXc", "X"), "|")
a|b|c

> = stringy.startswith("asdf", "as")
true
> = stringy.endswith("asdf", "as")
false

Versions

0.6-1331 days ago3,698 downloads
0.4-1324 days ago56,322 downloads
0.4-0324 days ago27 downloads
0.2-1324 days ago13,123 downloads

Dependencies

lua >= 5.1

Dependency for

cipher-log, kong, kong-plugin-json-threat-protection, lua-multipart-parser, multipart

Manifests