WURFL/Handlers/Utils.php
public static function firstSpace($string) {
		$firstSpace = strpos($string, " ");
		return ($firstSpace === false)? strlen($string) : $firstSpace;
	}
public static function firstSpace($string) {
		$firstSpace = strpos($string, " ");
		return ($firstSpace === false)? strlen($string) : $firstSpace;
	}
public static function firstSpace ( $ string ) { $ firstSpace = strpos ( $ string , " " ) ; return ( $ firstSpace === false ) ? strlen ( $ string ) : $ firstSpace ; }
First occurance of a space character
@param string $string Haystack
@return int Char index
First occurance of a space character