python中corr函数 delphi中pos函数怎么用?

delphi中pos函数怎么用?以子字符串在父字符串中第一次出现的位置为例例如POS(“B”,“ABCD”)返回结果为2

delphi中pos函数怎么用?

以子字符串在父字符串中第一次出现的位置为例

例如

POS(“B”,“ABCD”)

返回结果为2