Search
 
SCRIPT & CODE EXAMPLE
 

LUA

lua string replace

name = "^aH^ai"
name = name:gsub("%^a", "")
Comment

lua string replace / remove

text = "My text!"
-- Replace My by Our
text = text:gsub("My", "Our")
-- Remove "!"
text = text:gsub("!", "")
Comment

PREVIOUS NEXT
Code Example
Lua :: table in lua 
Lua :: lua hash table length 
Lua :: lua string to binary 
Lua :: draw circle love2d 
Lua :: pcall lua 
Lua :: lua variables 
Lua :: wails build 
Lua :: check player role in group 
Lua :: lua math.random 
Lua :: lua print table as string 
Lua :: roblox studio buying robux 
Lua :: lua wiki 
Matlab :: matlab for loop matrix 
Matlab :: pyspark dense 
Matlab :: matlab if bigger than 
Matlab :: how to decrypt a code in mat 
Basic :: pmatplotlib draw a square with a magenta dotted line and pentagon markersython matplotlib overlaped 
Basic :: wussup 
Elixir :: elixir hello world 
Elixir :: phoenix ecto preload 
Scala :: scala hello world 
Scala :: how to make anonymous function in scala 
Actionscript :: iis appcmd stop site 
Excel :: excel conditionally highlight multiple columns based on one column 
Perl :: perl until loop 
Pascal :: store input in variable in pascal 
Powershell :: powershell display firewall rules name 
Gdscript :: GDScript typed variables 
Erlang :: erlang exit from shell 
Assembly :: Discord bot name of person being tagged 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =