Nope, but this works, written by me :-)
function trim(incomingString){
while(''+incomingString.charAt(incomingString.length-1)==' '){
incomingString = incomingString.subString(o,incomingString.length-1);
}
return incomingString;
}
> ----------
> From: Eduardo Miguel Oliveira[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Friday, April 27, 2001 11:24 AM
> To: [EMAIL PROTECTED]
> Subject: Off Topic: Trim
>
> Is there anything similar to VBScript's TRIM in JAVASCRIPT???
>
> Tx
>
>
> Eduardo Oliveira
>
> S-Tecno - Serviços em Tecnologias
> de Informação
>
> R. General Ferreira Martins, 10, r/c B
> Miraflores 1495 - 137 Algés
>
> Tel 21 412 15 80 Fax 21 412 15 83
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets