Issue Details (XML | Word | Printable)

Key: CORE-1511
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Adriano dos Santos Fernandes
Reporter: Kovalenko Dmitry
Votes: 0
Watchers: 0

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

POSITION(string_exp1, string_exp2 [, start])

Created: 13/Sep/07 03:38 AM   Updated: 23/Feb/11 10:48 AM
Component/s: Engine
Affects Version/s: 2.1 Beta 2
Fix Version/s: 2.1 RC1

Issue Links:

 Description  « Hide

Please add

LOCATE(string_exp1, string_exp2[, start])

or append the optional parameter [START] in existing function - POSITION

Description of LOCATE from ODBC references

Returns the starting position of the first occurrence of string_exp1 within string_exp2. The search for the first occurrence of string_exp1 begins with the first character position in string_exp2 unless the optional argument, start, is specified. If start is specified, the search begins with the character position indicated by the value of start. The first character position in string_exp2 is indicated by the value 1. If string_exp1 is not found within string_exp2, the value 0 is returned.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Kovalenko Dmitry added a comment - 12/Nov/07 08:13 AM - edited
Adriano, thank you very much!

Philippe Makowski added a comment - 16/Mar/09 12:52 PM
Q/A test ok