|
From: Joe R. J. <jj...@cl...> - 2002-03-15 00:10:34
|
Hi Gilles,
To beat the dead horse;) Is there a simple way of removing spaces from the
beginning of URL's ala:
-----------------------8<-----------------------
--- 75,82 ----
URL::URL(char *ref, URL &parent)
{
String temp(ref);
+ temp.remove("\r\n\t");
+ temp.chop(' ');
+ temp.shift(' '); # or something
ref = temp;
//
-----------------------8<-----------------------
And somehow turning the rest of the space into %20 in the code?
Regards,
Joe
--
_/ _/_/_/ _/ ____________ __o
_/ _/ _/ _/ ______________ _-\<,_
_/ _/ _/_/_/ _/ _/ ......(_)/ (_)
_/_/ oe _/ _/. _/_/ ah jj...@cl...
|