The long lost Emacs string manipulation library.
It's available on marlamade:
M-x package-install s
Or you can just dump
s.el in your load path somewhere.
[[ function-list ]]
Documentation and examples
[[ function-docs ]]
Yes, please do. There's a suite of tests, so remember to add tests for your specific feature, or I might break it later.
You'll find the repo at:
Run the tests with
Create the docs with
I highly recommend that you install these as a pre-commit hook, so that the tests are always running and the docs are always in sync:
cp pre-commit.sh .git/hooks/pre-commit
Oh, and don't edit
README.md directly, it is auto-generated.
Copyright (C) 2012 Magnar Sveen
Authors: Magnar Sveen email@example.com Keywords: strings
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.