public function getStringArray($command, $target = null, $value = null)
    {
        $string = $this->getString($command, $target, $value);

        $results = preg_split('/(?<!\\\),/', $string);
        foreach ($results as &$result) {
            $result = str_replace('\,', ',', $result);
        }

        return $results;
    }
public function getStringArray($command, $target = null, $value = null)
    {
        $string = $this->getString($command, $target, $value);

        $results = preg_split('/(?<!\\\),/', $string);
        foreach ($results as &$result) {
            $result = str_replace('\,', ',', $result);
        }

        return $results;
    }
public function getStringArray ( $ command , $ target = null , $ value = null ) { $ string = $ this -> getString ( $ command , $ target , $ value ) ; $ results = preg_split ( '/(?<!\\\),/' , $ string ) ; foreach ( $ results as & $ result ) { $ result = str_replace ( '\,' , ',' , $ result ) ; } return $ results ; }
Executes a command on the server and returns an array of string.

@param string $command Command to execute
@param string $target  First parameter
@param string $value   Second parameter

@return array The result of the command as an array of string
Executes a command on the server and returns an array of string .