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.
+
+ rtrim example
+
+$trimmed = rtrim ($line);
+
+
+
+
+ See also trim, ltrim.
+
+
+
+
setlocale