I was looking up how to trim a string in Lua and ended up on this page (1). It includes 15 options, none of which, at first glance, are super obvious. Hardly my only complaint re the language. C++ has Rust, C has Zig, how is there not a popular modern replacement for Lua yet?

(1) http://lua-users.org/wiki/StringTrim

Leave a Comment

All comments are reviewed before being made public.