will do , thanks for the tip!
Jorg
Antonio Gallardo wrote:
Jorg Heymans dijo:
I'm on 2.1.5.1 FWIW
Can you test the 2.1.6-dev version? I am not sure, but I guess this error is already fixed there.
Best Regards,
Antonio Gallardo
Jorg
Bart Molenkamp wrote:
Well I think that there is nothing wrong with mystring.indexOf('abc') + 3, but maybe the substring method throws an IndexOutOfBoundsException?
-----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jorg Heymans Sent: Friday, November 05, 2004 9:04 AM To: [EMAIL PROTECTED] Subject: Re: jx syntax madness
note that the -3 or +3 are entirely random here, bottomline is that i can subtract from the indexOf result, but not add to it...
Jorg Heymans wrote:
Hi,
Can anyone explain me why ${mystring.substring(mystring.indexOf('abc'))} works, ${mystring.substring(mystring.indexOf('abc') - 3)} works
but ${mystring.substring(mystring.indexOf('abc') + 3 )} *not* ?
Thanks! Jorg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
