Delete Whitespace
eharetea

This script deletes whitespace in PHP.

A great way to remove whitespace in PHP.

Date Created:Monday February 16th, 2009 11:00 AM
Date Modified:Monday February 16th, 2009 11:03 AM


function no_whitespace($str) {
        return str_replace(array("\n""\r""\t"" ""\o""\xOB"), ''$str);
}




Downloads:
Download: whitespace.php 118 B

Please login or Click Here to register for downloads
Creative Commons License
Delete Whitespace by Dan Lynch
is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
Based on a work at www.3daet.com
Permissions beyond the scope of this license may be available at http://www.3daet.com