Page 1 of 1

using cgi.lsp

Posted: Fri Apr 22, 2005 3:02 pm
by tom
Hey guys,

I made a simple html form text field that creates an page on my newlisp wiki, but it only works if the imput is a single word. I'm having trouble converting "this string" to "this_string"
I've tried a few different things with no success.

any ideas?

thanks.

Posted: Fri Apr 22, 2005 3:52 pm
by eddier
Try the following

Put a replace around whatever accesses the URL field. That is ...

Code: Select all

(replace " " (whatever gets the URL field) "_")
Eddie