Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua multiline string

answer = [[
Multiline strings in Lua do not interpret escape sequences like 
.

When running over multiple lines the enters are included, only
when the first character is a newline it is ignored.

These strings can be nested with = signs between the brackets like 
multiline comments: [=[This would be a valid string too]=].
]] --> multiline string with trailing newline
Source by www.lua.org #
 
PREVIOUS NEXT
Tagged: #lua #multiline #string
ADD COMMENT
Topic
Name
4+5 =