Specify the characters in charlist by giving their hexadecimal value : String Trim Chop : String PHP Source Code


PHP Source Code » String » String Trim Chop »

 

Specify the characters in charlist by giving their hexadecimal value




<?
$str = "   string t n";

$str = trim ($str, "x09x0a");

echo$str );

echo(strlen($str));
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo String
» String Trim Chop