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]



Reply via email to