https://github.com/dwolfhub/corona_string
string manipulation library
https://github.com/dwolfhub/corona_string
Last synced: 18 days ago
JSON representation
string manipulation library
- Host: GitHub
- URL: https://github.com/dwolfhub/corona_string
- Owner: dwolfhub
- License: mit
- Created: 2013-07-16T21:32:59.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-16T21:47:10.000Z (over 12 years ago)
- Last Synced: 2025-03-12T13:26:54.217Z (10 months ago)
- Language: Lua
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# String Manipulation Library
#### File Name
string.lua
#### Note
This will be an ever-growing list of functions to manipulate strings
## String.tableToQueryString(data)
#### Parameters
> - data (table) the data to be converted to a query string
#### Return
> - An html encoded query string
#### Example
```lua
local string = require "library.core.string"
local data = {
foo = 'information',
bar = 'special!@#chars'
}
local queryString = string.tableToQueryString(data)
print(queryString)
-- prints: bar=special%21%40%23chars&foo=information
```