Search
 
SCRIPT & CODE EXAMPLE
 

LUA

roblox format string

-- Just String
local str = "The magic word is %s"
print(string.format(str, "Roblox"))

-- With Quotes
local str = "The magic word is %q"
print(string.format(str, "Roblox"))

-- New Line
local str = "Skip to 
a new line and 
another new line!"
print(string.format(str, "%q"))
Comment

PREVIOUS NEXT
Code Example
Lua :: lua difference between pairs and ipairs 
Lua :: attempt to call a string value lua 
Lua :: gun that shoot automaticly roblox 
Lua :: fivem lua set player bucket 
Lua :: how to make auto scroll roblox 
Lua :: How to make a working gun in lua code 
Lua :: lua coding lines to test with 
Lua :: Lua dynamic variable name 
Lua :: get player who clicked clickdetecter roblox 
Lua :: Simple Roblox Lua Function 
Matlab :: matlab get row from matrix 
Matlab :: matlab poly 
Matlab :: matlab label size 
Matlab :: two return variables in matlab 
Matlab :: zsh corrupt history file 
Basic :: how to round a number in visual basic 
Basic :: basic murmur hash function 
Elixir :: elixir map 
Elixir :: elixir check is nil 
Scala :: scala hello world 
Scala :: scala predicate 
Actionscript :: bs modal is working but not visible 
Excel :: excel formula not updating after inserting rows 
Perl :: perl loops 
Perl :: How to run a pearl script 
Pascal :: Pascal (fpc 3.0.4) sample 
Gdscript :: godot ignore function 
Lisp :: elisp return type 
Assembly :: resize pdf file 
Assembly :: google appscripts cell get background color 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =