Hi,
Here is the code I use to change whitespace from a string $test to
hypen -.
<?Php
$test="Teststring test test hay man test test test test";
// Chr(32) is ASCI code for whitespace and Chr(45) is for -
$test = str_replace(Chr(32), Chr(45), $test);
echo $test;
?>
My problem is I have to take out the whitespace completely form the
string.
I will be thankful if anyone can help me, or guide me to the function
name that can be used for this.
Thank You for help.