4D v13.4

POSITION

ホーム

 
4D v13.4
POSITION

POSITION  


 

 

Command POSITION

POSITION (arithmetic_expression IN arithmetic_expression)

説明  

POSITION関数は、二番目のarithmetic_expression中、一番目のarithmetic_expressionの開始位置を返します。文字列が見つからない場合、0が返されます。

例題  

この例題は、LastName中単語"York"の開始位置を返します:

SELECT FirstName, POSITION('York' IN LastName)
FROM PEOPLE;

 
プロパティ 

プロダクト: 4D
テーマ: 関数

 
目次

コマンドリスト (文字順)

 
参照 

LOCATE
SUBSTRING