lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Wed, Aug 31, 2016 at 11:21 AM, Soni L. <> wrote:

With the exception of ASCII NUL, no other character breaks strings. Also multiline strings don't support escapes and it'd be nice to have an alternative that does.

Sure would, allow me to offer you such an alternative:

mystring = "Hi Soni. I'm a multi-line string!\n"
             ..  "I'm convenient, \t offer escapes, and more!\n"
             ..  "By the way, do you have a repo or something?\n"
             ..  "Because I'm starting to wonder whether you write software,\n"
             ..  "Or just write *about* software...\n"

You're welcome!