With all the wonderful String functions in PHP, I haven't been able to find
a str_compress(). Is there such an animal? Let's say I have a string like
this:
$myString = First_word 30 spaces second_word 10 spaces etc...
I need to do one of two things. Either compress the multiple spaces to
Hey
With all the wonderful String functions in PHP, I haven't been able to
find
a str_compress(). Is there such an animal? Let's say I have a string
like
this:
$myString = First_word 30 spaces second_word 10 spaces etc...
This would proberly work:
--
2 matches
Mail list logo