Noob Codes
How to use ?
Login
Register
Home
lua
How to manage large strings
How to manage large strings
snippet in lua
How to manage large strings
user5721
for i=1,len do s=s.."x" end
stackoverflow.com
Login to continue
×
Submit answers directly from your webpage,
Login
Register
×
Login to continue
Submit answers directly from your webpage,
Login
Register
⇦
Previous
Add answer
⇨
Next
Other quiries
image.display window in lua/torch
Lua loadstring Function fail
Parsing key value pair with Lua
Key repeats are delayed in my Hammerspoon script
String match URI with Lua patterns
Lua os.date() - What's the difference between *t and !*t
Match whole, exact text line with Lua
How can I access values from multidimen array in lua?
Two instances of a Lua “Class” are the same “object”
Reassigning strings to a set list of values in an array
Lua table diff key function
How do I insert a string into another string in Lua?
Error with self invoking anonymous functions in Lua
Dynamically assigned table variables?
Regular Expressions for Japanese in Lua
Defining Lua methods as initialization
Lua C API: Handling and storing additional arguments
Building and Installing Lua 5.2.0 on Mac os x Lion
how to get caller of function within a function in lua?
Lua: Finding a token in a delimited string
Displaying Lua tables to console by concatenating to string
Corona table.sort()
Control problems
Lua string inside variable reference
Lua - simple iterator assignment?
Lua: store unspecified number of items in return value
is there a way to define auto-escaped string in lua (raw)?
Premake4 utility and application entry point
return several parameter from lua C function
How to set a “require” to return a table/module from Lua C API?
Sum of primes in a number - Lua
Lua How to create custom function that can be used on variables follow up
Lua elseif not working properly
access to global variables in lua
Scrapy + splash: can't select element
cairo_text_extents_t is not recognized by lua
Why print(print()) not work like print(type(2)) in Lua?
Lua - rewriting coroutine recursion to tail-call recursion
Spring Data Redis: Redis Pipeline returning always null
NewLine(\n) alternative in Lua?
LuaJIT and C++ - call to Table.Method() does not work in loadstring/pcall
C++ Preprocessor metaprogramming: obtaining an unique value?
destructors on gc-ed lua objects
Error loading module (Lua)
Is there an Equivalent scanf function in Lua?
How to to add “th” or “rd” to the date
How to find which version of Lua do I use?
How does this C code (from lua library, Torch) even compile/work?
Lua - string.find(x, “a - b c”) gives nil value
Why is lua so slow in redis? Any workarounds?
require('image') not working in Torch7
Redis - Why is this code SO fast?
How do you assign multiple values in a key for a table?
Getting table entry index
Error handling in Lua using longjmp
Lua metamethods not being called
putting '%' in string.gsub() in Lua
Global function in lua
Returning the inside of a table from a function
Convert String into Arithmetic Operator
Lua Base64 Encode
How to pass Table(list of numbers) from Lua to C and access it
luasql nil value
lua - How to get decimals to round down on the half
Lua 'end' expected (to close 'function' at line near '<eof>'
Redefine type of variable in Lua
lua tables, simplest way to overload __tostring
Should parameters be used as variables in Lua?
How to wipe or reset a table in Lua
Lua metatables: class fields vs instance fields
Why isn't 2 equal to √2 * √2?
Lua, Error Handling pcall()
LUA count repeating characters in string
How to iterate over pairs of elements in table in lua
Equivalent to Lua “and/or” in C++?
How to pop / clean Lua call stack from C
Measuring elapsed time in lua (+love2D)
How can I remove text inside brackets in Lua?
Use assert with pcall in Lua
Email address validation using corona sdk
Setting content dispose based on url / nginx
Do file only once in Lua
Strange logic in Lua script?
Lua: Random: Percentage
How to make an infinite loop in Lua code?
array element has incomplete type
How safe is comparing numbers in lua with equality operator?
What is the C interface to Lua for accessing a table's key/value pairs?
Why won't applications in Program Files run using os.execute in lua?
Lua table.concat
Lua: How to set a variable to zero
How do I display array elements in Lua?
Lua: Include file in the same directory
How to focus client in Awesome WM
Lua socket.http sink parameter
Calling a c function from lua 5.2 generates a syntax error
Lua 4.0 undeclared variables and conditional statements
Convert a CSV file into a table with defined keys in Lua
Lua ternary operator - multiple variables
LuaJit FFI Return string from C function to Lua?
ffi.C missing all declarations for all symbols
Functions in Lua could store local values between calls?
Is it possible to list all the functions of a table?
Lua script throws error “attempt to call a nil value (field 'deposit')”
How do I apply formatting like italic or bold to text using ANSI escaping sequences in a console?
Eval function in LUA 5.1
downloading and storing files from given url to given path in lua
LuaBridge and Member Functions
My 'randomString' function keeps returning the same result
Is it possible to change a value inside a Lua bytecode? How? Any idea?
Open a Lua .love file in Vim
Why use ')' when calling a function?
Differences between two tables in Lua
How to fix this unpack issue?
C & Lua: luaL_dostring return value
Reboot a System through Lua Script
lua - late call of class destructor
Operator overloading not working
How does Lua's floating-point handling differ from other languages?
Lua cannot find LuaRocks-installed modules on Linux
How to count the amount of words in a text file in Lua
Lua: Sort String array with varying casing
Lua functions — a simple misunderstanding
How to build C program that emedded Lua
Lua Nested Table Getting Elements
Detect file opening error on Lua
lua wireshark plugin dissector buffer length
is it possible to call lua functions defined in other lua scripts in redis?
Lua Love2D - How can I make it download a file?
Lua: 'pairs' doesn't iterate over [1]
A Lua iterator that fails silently?
No parentheses after a function name
Error: No results matching query were found. for luarocks in ubuntu
LUA: String to variables
Print number of characters in UTF-8 string
Lua script and redis - how to test for None value
Boost mutex locking on same thread
lua - Access table item from within the table
Corona SDK setFillColor not coloring when mix colors
Lua in pairs with same order as it's written
Convert decimal to hex in Lua 4?
lua c api: how to push a string with a null character in the middle?
Why is Lua arithmetic is not equal to itself?
luaL_dostring puts nothing on the stack?
Nginx + LUA, how to output file?
Returning the index of a value in a Lua table
Lua C API and metatable functions
String to Table in Lua
How to increase memory to handle super large Lua tables
lua overload: possibilities?
Is there any way to loop through an array without using pairs()?
Getting arg to work in a varag function in Lua 5.2 (integrated in Delphi)
Lua How to tell 1 from 1.0
is there a shortened “if then” syntax available in Lua?
How do I convert seconds since Epoch to current date and time?
Split a string by \n or \r using string.gmatch()
Lua check if a number/value is nan
Lua Prime Number Checker
How do I convert a lua string to a C char*?
Lua compiled scripts on Mac OS X - Intel vs PPC
Convert hex to decimal keeping fractional part in Lua
In Lua, how to get the tail of an array without copying it?
Difference Between Tables and Metatables in Lua
Safe Lua invoke C++ registered function
Linker Error Lunatic Python lua.require('socket') -> undefined symbol: lua_getmetatable
luabind: Can't call basic lua functions like print, tostring
What should a C function called from Lua that pushes a table return?
Loading a file and returning its environment
How to put a label after a return statement in Lua?
Why does my code only print nil once?
Is it possible to overload operators for strings?
Write-once table in lua?
interactive popen() Lua call
Sandboxing in Lua 5.2
Lua Table Memory?
How to bind a C++ function to lua that return multiple values with luabind?
How to get data from table in Lua
Lua inheritance - call method on super
How to split a Lua table containing sub-tables
How to trace MySql queries using MySql-Proxy?
get IP Address in Lua
Loop through all Lua global variables in C++
Awesome WM: move/resize maximized floating windows
Why can't I catch a luabind::error exception when my lua code throws an error?
“Bitwise AND” in Lua
Call an anonymous function with a local variable as parameter
Lua variable scoping with setfenv
LPeg grammar oddity
how to extract the domain from a URL
Lua: iterate through every possible k-length string given a list of symbols
how do I extend Lua with a static c++ library?
Can lua function references be used as table keys?
Can Lupa be used to run untrusted lua code in python?
Attempt to index local 'file' (a nil value) at file:write
Syntax Change in lua 5.2 C api
Lua string.gsub with Multiple Patterns
Lua: attempt to compare boolean with number
Lua sort table alphabetically, except numbers
How to embed hex values in a lua string literal (i.e. \x equivalent)
Torch tensor equivalent function to matlab's “find”?
Passing a table as argument to function in Lua
Rbx.Lua - Why can't I store a .txt file as a table?
Parse parameters out of URL in Lua
Passing an array name to a function, then populating it
How do I create a save game feature in love2d?
Comparing integer variables in LUA
Creating a Namespace In Lua Across Files
How to nest modules into namespaces when registering functions from C in Lua?
What is the scope of a Lua variable?
Controlling Variable Scope In Lua; It's changing both Vars
Reading a file on Lua
How do I compare the contents of a capture with another string in lua
A calculator using Lua string matching
the following lua code does not make sense
Correct pattern doesn't work in Lua gmatch
Compare string if there's at most one wrong character in Lua
Lua HTTP download and save to file
Trigger build when non-source files change
Using Lua tables as 2-dimensional arrays
How to bind a std::map to Lua with LuaBind
Table insert gives a nil error
What's the proper way to use coroutines for event handling?
jump object on collision
LuaLanes Unable to pass global variables between functions (in a single lane)
Subtracting hours from os.date()
Cannot link with Lua library on Linux
checking for boolean true / false result in postgresql query
why do i get “attempt to call global 'require' (a nil value)”?
Can I run Lua interpreter in evaluator mode?
Only one tcp server allowed ESP8266 with Lua
how to escape a variable in Lua
Regarding colon operator in Lua
lua not modifying function arguments
Choosing Scripting lang
Lua: How to check if a string contains only numbers and letters?
Lua gsub second instance
Auto-change the physics of an object after a change of his size
Getting touch events when objects have an alpha of 0 In Corona SDK
Return a percentage sign in Lua string.format
How to check if a value is greater than one number and less than another number in Lua?
Lua - Attempt to call global (a nil value)
Reading a binary file into an array
Pushing an executable function pointer?
Lua - Insert table values
Accessing Lua Functions On Other Files
Can we do pipeline in lua script of redis
Lua 5.1.4 math.random not actually random
Split string in equal chunks in Lua
Lua, Altered Program Flow When Rquired File isn't there
How to check if a file is executable in Lua?
Lua return directory path from path
Load a Lua script into a table named after filename
Lua add two tables
Limit requests frequency of each IP using NGINX & Lua
Function definition in Lua
How to filter out user defined globals in Lua from C++?
String manipulation in Lua: Swap characters in a string
Lua throwaway result
Love2d Rotating an image
wrong lua table size when using string key index
Lua return from function problem
Finding the first string that matches a pattern in Lua (XML pattern matching)
String concatenation in Lua
Why are there only 4 fields in this Lua table? Shouldn't there be 7?
How to call a function within a function in Lua?
How to loop through the table and keep the order?
Thread locals in Lua
Access iterator variable in Lua
How to avoid Redis calls in Lua script limitations?
Lua 5.2 Can't access function in C library
time coutdown in corona sdk
How to find and replace words containing particular characters in Lua?
Replace a table value for a key in lua
detecting single nil argument in lua
Lua- Iterating nested table
addEventListener() in Lua
Analog of 'arguments.callee' in Lua
how to do continous action on corona in tap function
Scite Lua: string comparison raises “attempt to call a string value”?
c++ classes & lua
Find word in a string using a regex pattern lua
Can you convert a table into a vararg without unpack?
Lua iterate over letter-number pairs from string?
How do i convert binary to decimal (LUA)
How to iterate from last index to first in table
Nginx: Grant access by comparing a header value with the contents of a file; possible?
return parameter in lua
Trouble adding elements to a table (array in Lua)
vimrc test for if_lua during vundle BundleInstall
lua: testscript.lua:37: '}' expected near '='
How do I sort a table while keeping a record of the original positions?
How do I set, via the lua C API, the environment table for a chunk of lua code prior to running it?
Lua - Removing words that are not in a list
randoming a table Corona SDK / Lua
Corona SDK: fill up a bar from left to right
SWIG:Lua - Passing a c++ instance as a lua function parameter
attempt to index field ? (nil value)
Lua string.match() problem
call function in lua from different lua class
How to get string (multi word) between characters
How can I define this variable before arrays?
Print table in Lua
Splash API/lua error: attempt to index local element (a nil value)
How to check what shared libraries are linked when I run a interpreted language binary and its script?
Uppercase function but for non alphabetic characters in LUA?
Use table key inside same (anonymous) table
How to isolate numbers separated by stars in Lua?
Having conditionals for a Lua DSL?
Lua 5.0 - iterations over tables ignore duplicate keys even though values are different
awesome-wm: Possible to to map Alt+Shift?
stdin:1: '=' expected near '<'
How do I add values to an array
What's wrong with this lua script
Lua How to replace 1 specific character inside table without whole string?
different screen sizes with corona sdk
How can I detect when the Lua scripts access a global variable?
os.execute() with command line options
Horizontal ScrollView in Corona SDK
Redis Server Side Script - ZREM multiple values at once
Creating new folders and files with Lua
Sort nested table with lua
SIGSEGV error in some lua/c++ code
Lua patterns query
Redis chaining commands
Lua: %UserProfile% access
Lua: Updating parts of a file hex-editor-style
Make vim close syntactic construction for code block automatically
Lua: Escaping literal % inside string.gsub and the capture %2
LuaSocket socket/core.dll required location?
Linking Error with Lua?
POST data in Lua
Can you compare the “types” of tables or metatables in Lua?
Using unique dynamic variable names (not variable values!)
Merge function in Lua
quasiquote/quote in lua?
Retrieving Application Data folder from Lua
Lua goto statement to simulate continue raised error
Why can we do str:split(“,”) but not tab:insert(val)?
Condition evaluating incorrectly (Lua 4)
Printing a static variable inside a C++ function called from lua
Conflict resolution in Tarantool (how to fix replication in master-master mode in case of conflicts)
lua -> how to modify these arguments to be const, or what should I do?
Lua | Whitelist of table arguments only
How to save whole response data to nginx error.log?
Trying to learn what some code does (Lua)
Read specific line using lua
Setting a file path as text to clipboard in LUA
Determine whether Lua compiler runs 32 or 64 bit
Cloud-to-device Azure IoT REST API
Lua table as redis argument
In Lua, how does a = Account:new{balance = 0} work or is it a typo?
Want to remove spaces between strings in parantheses in Lua
Using lpeg to only capture on word boundaries
How to call a function in shared library using Lua
String pattern, match the first, outermost pair of brackets?
Determine compiler version of compiled Lua
How do I get lua string match to parse an environment variable string?
A way to use dynamic variable names?
Lua's string.find won't find pattern
How do I save directory information from os.execute(“dir”) into a string?
Number of returned values
Lua pattern replace uppercase letters
tonumber and regex
Convert mathematica functions to lua
Matching strings with multiple words between two words
How to remove all 'nil' values from an array?
Split a string into individual characters and place the characters into a table
Higher order “methods” in lua
How can a access a variable name using a string and concatination
After parsing table to string -> invert (parse string to table)
Get parameters from URL, get substrings in a query string and store them in a table
Is there a simpler/ more concise way to initialize this array in Lua?
Conditionally execute code coming in from parameters
How do I clean everything in lua stack from C++?
Extracting filename only with pattern matching
Create a list of tasks to do in Lua
Easiest way to download a file in Lua
Lua get Max number
Corona SDK: Restart an app only when user press “home”
How do I walk recursively windows registry in lua?
Lua Problems with Arguments
Lua tables and iterating
Lua--parse text from .txt file and store the values
How Lua deal with the stack?
How to enforce Lua scripts runtime limit?
Getting command line parameters in Lua interpreter
Lua table removing duplicates
Swig + Lua : call m(int argv, char **argc)
Is there a way to make a template match all pointer types?
How do I detect a TouchOut event in Corona SDK?
lua - table maintenance (particle system related)
Swig and Lua: how to map Lua file to FILE*
Passing 2d array to function in Lua
What makes Lua tables key order be undeterministic?
Changing Variable by using variable+string? LUA
Trying to build a table of unique values in LUA
Use variables inside a string in lua
parsing failed because a } isnt put in?
How can I iterate over list items in Pandoc's lua-filter function?
How do i elegantly reference return values in multiple-return-value-functions in Lua?