
|
If you were logged in you would be able to see more operations.
|
|
|
| Planning Status: |
Unspecified
|
|
select position ('', 'Broehaha') from rdb$database
returns 1 - correct: see standard, and we can suppose that an empty string (or even multiple) is present before every character in the string
select position ('', 'Broehaha', 4) from rdb$database
returns 1 - this should be 4, because we ask for occurences starting at position 4.
select position ('', 'Broehaha', 20) from rdb$database
returns 1 - this should be 0, because here we are past the end of the string, in the great Nothing.
|
|
Description
|
select position ('', 'Broehaha') from rdb$database
returns 1 - correct: see standard, and we can suppose that an empty string (or even multiple) is present before every character in the string
select position ('', 'Broehaha', 4) from rdb$database
returns 1 - this should be 4, because we ask for occurences starting at position 4.
select position ('', 'Broehaha', 20) from rdb$database
returns 1 - this should be 0, because here we are past the end of the string, in the great Nothing.
|
Show » |
|