Difference between revisions of "JString::stristr"
From Joomla! Documentation
(Layout updates) |
m (moving preparation) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JString::stristr|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JString::stristr|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function stristr ( |
+ | $str | ||
+ | $search | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' | |
− | + | * '''Defined''' on line 318 of libraries/joomla/utilities/string.php | |
− | + | * '''Referenced by''' | |
− | libraries/joomla/utilities/string.php | + | ** [[strcasecmp|strcasecmp]] |
− | * | + | ** [[strcmp|strcmp]] |
− | |||
− | * [[strcasecmp | ||
− | * [[strcmp | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JString::stristr source code''' on [[jplatform:utilities/string.php#cl-310|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JString|JString]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | ||
+ | * [[API17:JString::stristr|Other versions of JString::stristr]] | ||
+ | {{SeeAlso:JString::stristr}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JString::stristr|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JString::stristr|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 53: | Line 54: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <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.
JString::stristr[edit]
Description[edit]
UTF-8 aware alternative to stristr Returns all of haystack from the first occurrence of needle to the end.
Template:Description:JString::stristr [Edit Descripton]
public static function stristr (
$str
$search
)
Parameter | Type | Default | Description |
---|---|---|---|
$str | |||
$search |
- Returns
- Defined on line 318 of libraries/joomla/utilities/string.php
- Referenced by
See also[edit]
- JString::stristr source code on BitBucket
- Class JString
- Subpackage Utilities
- Other versions of JString::stristr
Template:SeeAlso:JString::stristr [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />