Core Function TrimRight
From Sputnik Wiki
(Difference between revisions)
(→Return Value) |
m (1 revision) |
(One intermediate revision by one user not shown) |
Latest revision as of 12:38, 14 June 2015
TrimRight( <expression>, <chars> )
Contents |
Description
Strip whitespace from the end of a string.
Parameters
expression
The string to use.
chars
Optional; A string containing chars to be removed.
Return Value
Success: Returns trimmed string.
Failure: Returns old string.
Remarks
None.
Example
$str = " The quick brown fox "; MsgBox( "'" . TrimRight($str) . "'" );