API17:JString::stristr
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user 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/11.1|strcasecmp]] |
| − | + | ** [[strcmp/11.1|strcmp]] | |
| − | * [[strcasecmp/11.1|strcasecmp]] | + | |
| − | * [[strcmp/11.1|strcmp]] | + | |
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JString::stristr source code''' on [[jplatform:utilities/string.php#cl-310|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JString/11.1|JString]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]] | ||
| + | * [[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 52: | Line 54: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JString]][[Category:JString::stristr]]</noinclude> | <noinclude>[[Category:JString]][[Category:JString::stristr]]</noinclude> | ||
Revision as of 21:44, 27 April 2011
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::stristr
Description
UTF-8 aware alternative to stristr Returns all of haystack from the first occurrence of needle to the end.
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
-
JString::stristr source code on BitBucket
-
Class JString
-
Subpackage Utilities
- Other versions of JString::stristr
SeeAlso:JString::stristr [Edit See Also]
User contributed notes
<CodeExamplesForm />
