I made a mistake - using jstl 1.0 BTW - can I use 1.1 with Tomcat 4.1.24?
David Schwartz Array Software Inc. www.arrayone.com -----Original Message----- From: Johnson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 3:43 PM To: Tag Libraries Users List Subject: RE: Finding a string within a string If you use jstl 1.1 (the newest--there isn't a 1.2), then you can use the EL functions. There are two functions to do what you want: fn:contains and fn:containsIgnoreCase. -----Original Message----- From: David Schwartz [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 3:03 PM To: Jakarta Taglibs help (E-mail) Subject: Finding a string within a string I'm using jstl 1.2 with tomcat 4.1.24 Using the EL, is there a way to search for a "string within a string"? For example, I want to find "there" in the string "hello there world". (something like indexOf(String str) ) David Schwartz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]