开发者

removing trailing whitespace at the end of a word?

开发者 https://www.devze.com 2023-01-31 08:48 出处:网络
How do I remove a whitespace at the end of a word and not from the middl开发者_开发问答e of the word?rtrim().

How do I remove a whitespace at the end of a word and not from the middl开发者_开发问答e of the word?


rtrim().

Manual reference: String functions in PHP


http://www.php.net/manual/en/function.rtrim.php

0

精彩评论

暂无评论...
验证码 换一张
取 消