[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Thought experiment: what would you remove from Lua
- From: Dirk Laurie <dirk.laurie@...>
- Date: Wed, 1 Aug 2018 08:00:41 +0200
2018-08-01 1:55 GMT+02:00 dyngeccetor8 <email@example.com>:
> * string.reverse() (anyone used it?)
The project I am currently working on (reverse-engineering a PDF file
via XML to Markdown) uses it.
It has a routine that converts text formatted this way:
<text font=font7>The quick brown fox jumps over the lazy dog</text>
**_`The quick brown fox jumps over the lazy dog`_**
I assemble the starting markdown sequence from the font information
and then the ending is done by string.reverse.