Published on : August 11, 2020
Title:php.strpos
Purpose: Find the position of the first occurrence
Syntax:[php.strpos p1=”Test content here” p2=”here” o.set=template.spos /]
Input Parameter
:p1: Specifies the string to search
p2: Specifies the string to find
p3: (optional) Specifies where to begin the search.
Return Value: Returns the position of the first occurrence of a string inside another string, or FALSE if the string is not found.
Example[php.strpos p1=”Test content here” p2=”here” o.set=template.spos /]