Search
 
SCRIPT & CODE EXAMPLE
 

LUA

lua check if string is number

local function isInteger(str)

  return not (str == "" or str:find("%D"))  -- str:match("%D") also works

end
Comment

PREVIOUS NEXT
Code Example
Lua :: lua gsub 
Lua :: for i in pairs lua 
Lua :: default value lua 
Lua :: what is the point of local varaibles in lua 
Lua :: print script lua 
Lua :: glua varargs 
Lua :: Lua numbers 
Lua :: What is transparency in roblox 
Lua :: roblox lua wait for player to load 
Lua :: lua script 
Lua :: how to make a welcome badge roblox lua 
Lua :: cmder not taking lua file 
Lua :: lua split 
Lua :: Lua how to get the index of a nested table 
Lua :: lua scp 914 card script 
Lua :: how to make a math text in lua 
Lua :: roblox can I have player animations on the server 
Matlab :: matlab parameter in title 
Matlab :: sum in matlab script 
Matlab :: matlab avoid plot to get focus 
Basic :: basic 
Basic :: dos assign command output to variable (when output is of multiple lines) 
Elixir :: jason elixir 
Elixir :: split list in elixir 
Scala :: scalable meaning 
Scala :: map function scala 
Excel :: excel hyperlink reference not updating when inserting rows 
Perl :: perl substitution 
Pascal :: pascal press any key to continue 
Powershell :: powershell remove node_modules 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =