Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.lisp
Re: substitute #\& "&" my-str
William James
10/3/2015 5:38:00 PM
Wade Humeniuk wrote:
> > I'm trying to "un-escape" an "html-encoded" string, and
> > thought that I could use substitue as in:
> >
> >> (substitute #\& "&" "lamb & elephant & "squale"")
> >
> > unfortunately, this doesn't seem to work.
> >
>
> Use cl-ppcre
>
>
http://www.cliki.ne...
>
> CL-USER 4 > (cl-ppcre:regex-replace-all "&" "lamb & elephant &
> "squale"" "&")
> "lamb & elephant & "squale""
Gauche Scheme:
(regexp-replace-all* "lamb & elephant & "squale""
"&" "&" """ "\"")
"lamb & elephant & \"squale\""
--
What I would most desire would be the separation of the white and black
races. --- A. Lincoln, July 17, 1858
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: substitute #\& "&" my-str
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password