char char=

char函数取得字符串中指定位置的字符(zero-base)

char=比较两字符是否相等

CL-USER> (setf x "hello")
"hello"
CL-USER> (char x 1)
#\e
CL-USER> (char= #\e (char x 1))
T
CL-USER> (char= #\E (char x 1))
NIL

原文地址:https://www.cnblogs.com/flowjacky/p/2843048.html