-
Notifications
You must be signed in to change notification settings - Fork 111
urlencode
wpferguson edited this page Jun 14, 2020
·
1 revision
urlencode
encode a string in a websage manner
local ds = require "lib/dtutils.string"
local result = ds.urlencode(str)
str - string - the string that needs to be made websafe
urlencode converts a string into a websafe version suitable for use in a web browser.
result - string - a websafe string
https://forums.coronalabs.com/topic/43048-remove-special-characters-from-string