Actions

API17

Difference between revisions of "JString::rtrim"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JString::rtrim|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JString::rtrim|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JString::rtrim ($str, $charlist=FALSE)
+
public static function rtrim (
 +
        $str
 +
        $charlist=FALSE
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 425 of libraries/joomla/utilities/string.php
===Defined in===
+
libraries/joomla/utilities/string.php (line 439)
+
* see source code in [[jplatform:utilities/string.php#cl-439|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JString::rtrim source code''' on [[jplatform:utilities/string.php#cl-417|BitBucket]]
 +
* {{JVer|11.1}} Class [[JString/11.1|JString]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
 +
* [[JString::rtrim|Other versions of JString::rtrim]]
 +
{{SeeAlso:JString::rtrim}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JString::rtrim|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JString::rtrim|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JString/11.1|JString]]
+
===User contributed notes===
* [[JString::rtrim|Other versions of this method]]
+
{{SeeAlso:JString::rtrim}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 51: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JString]][[Category:JString::rtrim]]</noinclude>
 
<noinclude>[[Category:JString]][[Category:JString::rtrim]]</noinclude>

Revision as of 21:43, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JString::rtrim

Description

UTF-8 aware replacement for Strip whitespace (or other characters) from the end of a string Note: you only need to use this if you are supplying the charlist optional arg and it contains UTF-8 characters.

Description:JString::rtrim [Edit Descripton]

public static function rtrim (
        $str
        $charlist=FALSE
)
Parameter Type Default Description
$str
$charlist FALSE
  • Returns
  • Defined on line 425 of libraries/joomla/utilities/string.php

See also

SeeAlso:JString::rtrim [Edit See Also]

User contributed notes

<CodeExamplesForm />