diff --git a/vatValidation.class.php b/vatValidation.class.php index 1a8eac9..f2726e8 100644 --- a/vatValidation.class.php +++ b/vatValidation.class.php @@ -86,7 +86,7 @@ private function cleanUpString($string) { } $newString = ""; - $words = split(" ",$string); + $words = explode(" ",$string); foreach($words as $k=>$w) { $newString .= ucfirst(strtolower($w))." "; @@ -95,4 +95,4 @@ private function cleanUpString($string) { } } -?> \ No newline at end of file +?>