tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [OT] Re: JavaScript/JSP Question
Date Wed, 24 Nov 2004 20:41:12 GMT
On Wed, Nov 24, 2004 at 07:11:31AM -0500, Ben Souther wrote:
> This question is not tomcat specific so I'm marking [OT].
> I believe Javascript has the same startsWith/endsWith string
> functionality that Java has.  
> You should be able to simulate that pretty easily.

	js also has full regular expression support through the RegExp class
and the String.match function.   Although that's might be a more difficult
choice for exactly emulating the database LIKE function as all the other
regexp features would need to be escaped.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message