Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

PRINT multi line string lua

[=[

You can do such by using square brackets inside a print statement instead of
using quotes.

]=]

print([[
h
i
,
t
h
e
r
e
]])
Comment

PREVIOUS NEXT
Code Example
Lua :: random brick colour in roblox studio 
Lua :: roblox lua brick color randomiser 
Lua :: roblox key pressed script 
Lua :: prompt game pass purchase 
Lua :: continue in lua 
Lua :: lua what is _ENV 
Lua :: Startswith function in lua 
Lua :: lua json decode 
Lua :: lua functions 
Lua :: lua clear table 
Lua :: datastore roblox 
Lua :: lua table to json 
Lua :: lua string replace / remove 
Lua :: lua split 
Lua :: when do true loop on roblox lua 
Lua :: lua roblox hack scripts 
Lua :: FiveM how to check where nearest player is store 
Lua :: FiveM how to check where nearest player is 
Matlab :: matlab if not true 
Matlab :: matlab single and double 
Matlab :: cos in scilab 
Basic :: resttemplate authorization basic 
Basic :: shortcut to rename the file on lenovo s340 
Elixir :: ** (Ecto.ConstraintError) constraint error when attempting to insert struct: * id_fkey (foreign_key_constraint) 
Elixir :: elixir with else 
Scala :: add method to string class scala 
Actionscript :: vivo y11 not connecting to wifi after update 
Excel :: excel or formula 
Perl :: fonction perl 
Pascal :: pascal cheat sheet pdf 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =