Qurak

Except

ใช้งานได้

Represents a pattern matching everything except a given pattern

Except[c]
Except[c, p]
Cases[{1, 0, 2, 0, 3}, Except[0]] → {1, 2, 3}Cases[{a, b, 0, 1, 2, x, y}, Except[_Integer]] → {a, b, x, y}Cases[{a, b, 0, 1, 2, x, y}, Except[0, _Integer]] → {1, 2}

ใช้ใน

หัวข้อ

ที่เกี่ยวข้อง

ฟังก์ชันทั้งหมด 6300 รายการ · ใช้สิ่งนี้จากไคลเอนต์ MCP