Query: rtrim
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RTRIM(3) 1 RTRIM(3) rtrim - Strip whitespace (or other characters) from the end of a stringSYNOPSISstring rtrim (string $str, [string $character_mask])DESCRIPTIONThis function returns a string with whitespace stripped from the end of $str. Without the second parameter, rtrim(3) will strip these characters: o " " (ASCII 32 ( 0x20)), an ordinary space. o " " (ASCII 9 ( 0x09)), a tab. o " " (ASCII 10 ( 0x0A)), a new line (line feed). o " " (ASCII 13 ( 0x0D)), a carriage return. o "