127.0.0.1:6379> sadd myset value1 value2 value3
(integer) 3
127.0.0.1:6379> sismember myset value2
(integer) 1
127.0.0.1:6379> sismember myset value4
(integer) 0
127.0.0.1:6379> sadd myset value1 value2 value3
(integer) 3
127.0.0.1:6379> scard myset
(integer) 3
127.0.0.1:6379> sadd myset value1 value2 value3
(integer) 3
127.0.0.1:6379> smembers myset
1) "value1"
2) "value2"
3) "value3"
127.0.0.1:6379> sadd myset value1 value2 value3
(integer) 3
127.0.0.1:6379> srem myset value2
(integer) 1
127.0.0.1:6379> smembers myset
1) "value1"
2) "value3"