Issue Details (XML | Word | Printable)

Key: DOC-37
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Helen Borrie
Reporter: Paul Vinkenoog
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

2.1.2 RlsNotes :: POSITION function: incorrect info

Created: 24/Mar/09 06:56 PM   Updated: 24/Mar/09 06:57 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

 Description  « Hide
Under New Built-in Functions :: Position:

   (...) In the second form, an offset position may be
   supplied so that the function returns a result relative
   to that position in the outer string.

This is incorrect. The result is always given relative to the start of the string.
Providing an offset position only causes any earlier matches to be ignored.
   position ('be', 'To be or not to be', 10)
returns 17, not 7.

 All   Comments   Change History   Subversion Commits      Sort Order: Descending order - Click to sort in ascending order
There are no comments yet on this issue.