Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
||||||||||||||
|
4D v20
POSITION
|
POSITION (arithmetic_expression IN arithmetic_expression) |
||
The POSITION function returns a value indicating the starting position of the first arithmetic_expression within the second arithmetic_expression. If the string is not found, the function returns zero.
This example will return the starting position of the word "York" in any last names of the PEOPLE table:
SELECT FirstName, POSITION('York’ IN LastName)
FROM PEOPLE;
Produkt: 4D
Thema: Functions
4D - SQL Reference ( 4D v20)