Tests are fine. Good work catching those!

Thanks, Applied!

> [ambs - Wed Dec 28 09:44:28 2005]:
> 
> Please validate the tests, as the meaning of the 'last' third argument 
> wasn't the correct in the test cases.
> 
>  From tcl,
> Search string2 for a sequence of characters that exactly match the 
> characters in string1. If found, return the index of the first character 
> in the last such match within string2. If there is no match, then return 
> -1. If lastIndex is specified (in any of the forms accepted by the index 
> method), then only the characters in string2 at or before the specified 
> lastIndex will be considered by the search.
> 
> 
> Which means that if lastindex > length(string2), then length(string2) is 
> considered and no error is raised.
> 
> Cheers
> Alberto
> 
> 

Reply via email to