WIKINDX METHODS
Method:
removeNl()
Class:
HTML
Method Call:
include_once("core/html/HTML.php");
$html = new HTML();
STRING $html->removeNl(STRING: $string);
Description:
Returns a string in which the newline characters \012 and \015 have been replaced with " " (single space). This method
parses input from form text input boxes (and is called before storing the input in the database) in case the user has
inadvertently cut 'n' pasted multi-line text into what should be a single-line text input field. I've done it many
times myself....
Usage:
WIKINDX home
WIKINDX usage
WIKINDX classes