Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
6
Task/URL-encoding/NewLISP/url-encoding.newlisp
Normal file
6
Task/URL-encoding/NewLISP/url-encoding.newlisp
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
;; simple encoder
|
||||
;; (source http://www.newlisp.org/index.cgi?page=Code_Snippets)
|
||||
(define (url-encode str)
|
||||
(replace {([^a-zA-Z0-9])} str (format "%%%2X" (char $1)) 0))
|
||||
|
||||
(url-encode "http://foo bar/")
|
||||
Loading…
Add table
Add a link
Reference in a new issue