Hi,
I need to be able to remove spaces from the beginning or the end of a
string.
This is my very 1st attempt at doing that in JS and here is what i got:
function SearchForDomain s(winName, SearchWhat)
{
var re = /\s*(\w*)\s*/;
SearchWhat=Sear chWhat.replace( re, "$1");
....
that gets rid of the spaces at the front of the string, but not at the end
of it.
Can you help me please?
--
Hope that helps,
Phil
http://uk.geocities.com/philippeoget
philippeoget at yahoo dot com
Programming Excel: <a
href="http://uk.geocities.co m/philippeoget/xl/InternetLinkOrg aniser.zip"
target="_blank" >The Excel A2Z Project: </a>
http://uk.geocities.com/philippeoget/a2z/