function:rtrim ( string );return type:stringcontent:ใช้ตัดช่องว่าง ทางด้านขวา ออกexample:echo rtrim ( " bamboo " );