public static function toString($token, $merge = null) {
        if (is_array($merge)) {
            $token = array_replace($token, $merge);
        }
        return implode('', array_slice($token, 3, -2));
    }
public static function toString($token, $merge = null) {
        if (is_array($merge)) {
            $token = array_replace($token, $merge);
        }
        return implode('', array_slice($token, 3, -2));
    }
public static function toString ( $ token , $ merge = null ) { if ( is_array ( $ merge ) ) { $ token = array_replace ( $ token , $ merge ) ; } return implode ( '' , array_slice ( $ token , 3 , - 2 ) ) ; }
return token string

@param string[] $token detected handlebars {{ }} token
@param string[]|null $merge list of token strings to be merged

@return string Return whole token

@expect 'c' when input array(0, 'a', 'b', 'c', 'd', 'e')
@expect 'cd' when input array(0, 'a', 'b', 'c', 'd', 'e', 'f')
@expect 'qd' when input array(0, 'a', 'b', 'c', 'd', 'e', 'f'), array(3 => 'q')
return token string