From 84c36115cfe7bb2b6648ac483f22139948183b71 Mon Sep 17 00:00:00 2001 From: Brian Moon Date: Mon, 31 Jul 2000 14:09:34 +0000 Subject: [PATCH] added documentation for rtrim. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@29408 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/strings.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/functions/strings.xml b/functions/strings.xml index 7a532ac5c1..eb5f350cc5 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1337,6 +1337,33 @@ echo '<A HREF="http://x.com/department_list_script/', + + + rtrim + Remove trailing whitespace. + + + Description + + string rtrim + string str + + + Returns the argument string without trailing whitespace, + including newlines. This is an alias for chop. + + <function>rtrim</function> example + +$trimmed = rtrim ($line); + + + + + See also trim, ltrim. + + + + setlocale