aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.php
blob: fd46c63110c2e39cd3df348b1be21733ecaa7055 (plain)
1
2
3
4
5
6
7
8
<?php
#===============================================================================
# Remove line breaks and tabs from a string
#===============================================================================
function removeLineBreaksAndTabs($string) {
	return str_replace(["\r\n", "\r", "\n", "\t"], NULL, $string);
}
?>