?? [tr?m]
vt. ??, ??
n ???
vi. ??: Trims ?? ??: Trimming ?? ??: Trimmed ?? ??: Trimmed ???: Trimmer ???: Trimmest
PHP rtrim() ?? ???
rtrim() ??? ??? ??????
php rtrim() ??? ??? ???? ???? ?? ?? ??? ??? ???? ? ?????. ??? rtrim(string,charlist)?? charlist ??
??: Delete? ?? ??? ???? ?????. ???? ??? ?? ?? ?? ?? ??? ??
??: rtrim(string, charlist)
????:
???? | ?? |
string | ? |
charlist | ?? ??, ????? ??? ??? ?????. ?? ??? ?? ??? ?? ?????." PHP rtrim() ?? ?<?php $i = "hello world "; echo "未經(jīng)過處理的".$i."右邊是有空格的!"; $j = rtrim($i); echo "經(jīng)過處理的".$j."右邊是沒有空格的!"; ?> ???? ?? ? ??? ????? ??? "???? ??" ??? ????? ??: 未經(jīng)過處理的hello world 右邊是有空格的!經(jīng)過處理的hello world右邊是沒有空格的! |