I've found this way :
c:if test=${link.bytes[0] eq '/'.bytes[0]}
Not so pretty, but working !
Nico.
nicolas De Loof a écrit :
Hello,
I'm using JSTL and Struts-EL. I would like to test the first char of a
String.
The string is a URL, and can be a path to some action on my webapp or
any
c:if test=${fn:startsWith(url, '/')}
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 11:12 AM
To: Struts Users Mailing List
Subject: [OT] JSTL : test the first char of a String
Hello,
I'm using JSTL
2 matches
Mail list logo