static function Parse($lines, $delim="=", $nameonly=false)
	{
		$return = array();
		
		$lines = str_replace("\r\n","\n",$lines);
		$lines = str_replace("\r","\n",$lines);
		$arr = explode("\n", $lines );
		
		if ($lines=="") return $return;
		
		foreach ($arr as $line)
		{
			$return[] = new NameValue($line,$delim,$nameonly);
		}
		
		return $return;
	}
static function Parse($lines, $delim="=", $nameonly=false)
	{
		$return = array();
		
		$lines = str_replace("\r\n","\n",$lines);
		$lines = str_replace("\r","\n",$lines);
		$arr = explode("\n", $lines );
		
		if ($lines=="") return $return;
		
		foreach ($arr as $line)
		{
			$return[] = new NameValue($line,$delim,$nameonly);
		}
		
		return $return;
	}
static function Parse ( $ lines , $ delim = "=" , $ nameonly = false ) { $ return = array ( ) ; $ lines = str_replace ( "\r\n" , "\n" , $ lines ) ; $ lines = str_replace ( "\r" , "\n" , $ lines ) ; $ arr = explode ( "\n" , $ lines ) ; if ( $ lines == "" ) return $ return ; foreach ( $ arr as $ line ) { $ return [ ] = new NameValue ( $ line , $ delim , $ nameonly ) ; } return $ return ; }
Parses a string into an array of NameValue objects.
@access public
@param $lines string in the format name1=val1\nname2=val2 etc...
@param $delim the delimiter between name and value (default "=")
@param $nameonly returns only the name in the name/value pair
@return Array of NameValue objects
Parses a string into an array of NameValue objects .