Commit Graph

15 Commits

Author SHA1 Message Date
Alvaro Frias
dbadd9af83 Refactored rtrim and ltrim to use _whitespace_bytes table 2021-04-12 12:38:03 -03:00
Alvaro Frias Garay
6042e3a705 Renamed variable properly 2021-04-07 14:09:40 -03:00
Alvaro Frias Garay
fb4c187347 Added ends_with method to stringx 2021-04-07 13:59:42 -03:00
Alvaro Frias Garay
e8bb432999 Added ltrim and rtrim methods
complementary methods to trim
2021-04-05 23:43:35 -03:00
Max Cahill
290b39236c [modified] stringx.starts_with to not generate garbage 2021-03-02 11:47:28 +11:00
Max Cahill
dfd1a1c69f [added] stringx.starts_with 2021-03-02 11:45:19 +11:00
Max Cahill
8be736d992 [added] stringx.apply_template for "$template_var" containing strings 2020-11-19 17:18:38 +11:00
Max Cahill
01ffdc09cd [added] stringx.trim 2020-11-12 16:36:06 +11:00
Max Cahill
baa71bdf4e [added] stringx.deindent (and alias dedent) 2020-11-12 14:32:56 +11:00
Max Cahill
8c5fa157c7 [dev] note about strings with spaces being a potential problem with pretty printer; they arent re-parse friendly at the moment 2020-07-22 20:51:54 +10:00
Max Cahill
04563ed4b7 [modified] stringx.pretty handles embedded tables better (still likely needs a wrap width instead of an element count per line) 2020-06-19 15:17:24 +10:00
Max Cahill
95a9552cde [added] wip multi-line support to stringx.pretty 2020-05-27 13:03:40 +10:00
Max Cahill
284856d2c3 [modified] refactored init.lua extensively; used new assert module in stringx and tablex 2020-05-19 12:03:45 +10:00
Max Cahill
e75147ec77 [modified] moved tablex.stringify to stringx.pretty 2020-04-17 10:45:15 +10:00
Max Cahill
26acf1752d [added] stringx module (just split for now) and overlay to string on export 2020-04-17 10:35:00 +10:00