aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.php
blob: b866994b22fdce2f14096376c86ee62c7d144344 (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);
}
?>