Strings in Lua are sequences of bytes... Lua is eight-bit clean and its strings can contain bytes with any numeric code, including embedded zeros.
Roberto Ierusalimschy.

Basics: a change, length operator and concatenation operator

Escape sequences in Lua
| C-like Escape Sequence | Character |
| \a | bell |
| \b | backspace |
| \f | form feed |
| \n | newline |
| \r | carriage return |
| \t | horizontal tab |
| \v | vertical tab |
| \\ | backslash |
| \" | double quote |
| \' | single quote |

Corecions

The String Library

Format and More:

Unicode

References
- Roberto Ierusalimschy, Programming in Lua, Fourth Edition.
- lua.org
Previous post
The Hacker's Language in Action: #3 Strings | Ecency The AI that teaches different robotsrebe.torres12 ·