Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.2 RlsNotes :: POSITION function: incorrect info [DOC37] #46

Closed
firebird-automations opened this issue Mar 24, 2009 · 1 comment
Closed

Comments

@firebird-automations
Copy link

Submitted by: @paulvink

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.
E.g.:
position ('be', 'To be or not to be', 10)
returns 17, not 7.

@firebird-automations
Copy link
Author

Modified by: @paulvink

assignee: Paul Vinkenoog [ paulvink ] => Helen Borrie [ helebor ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants