API17:JString::strpos
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JString::strpos
Description
UTF-8 aware alternative to strpos Find position of first occurrence of a string.
Description:JString::strpos [Edit Descripton]
public static function strpos ( $str $search $offset=FALSE )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $str | $str | ||
| $search | $search | ||
| $offset | $offset | FALSE |
- Returns mixed Number of characters before the first match or FALSE on failure
- Defined on line 61 of libraries/joomla/utilities/string.php
See also
-
JString::strpos source code on BitBucket
-
Class JString
-
Subpackage Utilities
- Other versions of JString::strpos
SeeAlso:JString::strpos [Edit See Also]
User contributed notes
<CodeExamplesForm />
