API17

Difference between revisions of "JString::strpos"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (→‎See also: moving preparation)
(2 intermediate revisions by the same user not shown)
Line 42: Line 42:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JString::strpos source code''' on [[jplatform:utilities/string.php#cl-53|BitBucket]]
 
* {{JVer|11.1}} '''JString::strpos source code''' on [[jplatform:utilities/string.php#cl-53|BitBucket]]
* {{JVer|11.1}} Class [[JString/11.1|JString]]
+
* {{JVer|11.1}} Class [[API17:JString|JString]]
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
* [[JString::strpos|Other versions of JString::strpos]]
+
* [[API17:JString::strpos|Other versions of JString::strpos]]
 
{{SeeAlso:JString::strpos}}
 
{{SeeAlso:JString::strpos}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 60: Line 60:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JString]][[Category:JString::strpos]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:36, 11 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JString::strpos[edit]

Description[edit]

UTF-8 aware alternative to strpos Find position of first occurrence of a string.

Template: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[edit]

Template:SeeAlso:JString::strpos [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />