cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: jx syntax madness
Date Fri, 05 Nov 2004 08:04:05 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message