Please,
first of all, stop this thread since it's completely Off Topic.
This is a list about JSP, not Javascript !!!!
And if you reply, at least, be sure that what you write is correct.
Java surely has a trim funtion, it's JAVASCRIPT that misses it.
Can you give an example of what you think is missing in Java???
Geert Van Damme
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Henk Meulekamp
> Sent: vrijdag 27 april 2001 12:03
> To: [EMAIL PROTECTED]
> Subject: Re: Off Topic: Trim
>
>
> hi,
>
> I see many of those functions which are present in the languages like
> vbscript, vbasic, jscript, javascript but which are missing in
> Java. Every
> one makes those functions for themself, my question is, Isn't there a Java
> guru developer who has those functions in a class file or something? Which
> he wants to share with us 'starters in Java'?
>
> Or are there websites which have those libraries available?
>
> Thnx
>
> Hjm
>
> |-----Original Message-----
> |From: Hoorn, Michiel van [mailto:[EMAIL PROTECTED]]
> |Sent: vrijdag 27 april 2001 11:35
> |To: [EMAIL PROTECTED]
> |Subject: Re: Off Topic: Trim
> |
> |
> |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
> |
>
> ==================================================================
> =========
> 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