Doctrine\DBAL\Platforms\AbstractPlatform::getLocateExpression
returns the position of the first occurrence of substring $substr in string $str
Signature
public function getLocateExpression(string
$str,
[string
$substr = false,
[integer
$startPos = false]] )
Parameters
$str
— string- literal string
$substr
— string- literal string to find
$startPos
— integer- position to start at, beginning of string by default
Returns
- string