pub fn trim(value: &[u8]) -> &[u8] ⓘ
PHP trim($value): the default characters (" \t\n\r\0\x0B") from both ends.
trim($value)
" \t\n\r\0\x0B"