14 Commits

Author SHA1 Message Date
Robert Zenz
9aaa9268fd stringutil.split(text, split, trim) does now support automatic trimming. 2015-11-17 20:37:52 +01:00
Robert Zenz
89fecc8cbf Added stringutil.trim(text) function. 2015-11-17 20:32:15 +01:00
Robert Zenz
f3aac4df27 Added test for the stringutil.hash(value) function. 2015-10-22 18:57:34 +02:00
Robert Zenz
46c1704d5c Merge branch 'master' of github.com:RobertZenz/minetest-australopithecus-utils 2015-09-23 19:06:04 +02:00
Robert Zenz
6b289a8255 Changed the way List works in an incompatible manner.
List is now a mere thin wrapper around a number indexed table, it is
now one indexed and otherwise behaves a little bit different.

If you happened to use it, sorry for the breakage, but this is much
more sane then the previous implementation.
2015-09-23 19:01:41 +02:00
Robert Zenz
8f1711abc6 Updated structure and Makefile. 2015-09-19 11:42:20 +02:00
Robert Zenz
5991d4b2c7 test is now using tbaleutil to compare values. 2015-09-16 19:15:52 +02:00
Robert Zenz
e5715d3479 Passed time has now three cdecimal places. 2015-02-15 17:46:15 +01:00
Robert Zenz
365d3fe2fe Added endswith and startswith. 2015-02-07 12:33:54 +01:00
Robert Zenz
78c9e0cd6c Fixed possible infinite loop. 2015-01-02 21:00:52 +01:00
Robert Zenz
edd2df5e31 stringutil.split does now return a List. 2015-01-02 20:51:05 +01:00
Robert Zenz
c31fdb34f9 Added stringutil.split. 2015-01-02 20:44:35 +01:00
Robert Zenz
3b4f3ba5e0 Added Makefile instead of the script. 2014-12-20 11:50:49 +01:00
Robert Zenz
fc18e36439 Added stringutil. 2014-12-19 21:51:24 +01:00