1710| 18
|
[提问] 使用wcmatch判断中文报错 |
2明经币
最佳答案(defun aa(str / num n lst a)
(setq num "" n 0)
(setq lst(reverse(vl-string->list str)))
(while
(member(setq a(car lst))(list 46 47 48 49 50 51 52 53 54 55 56 57))
(setq n(1+ n)
num(strcat (chr a) num)
lst(cdr lst)
)
)
(list (substr str 1(- (strlen str) n)) (read num) n)
)
(defun aa (str / str1)
(setq str1(vl-string ...
| ||
发表于 2023-3-7 11:01:30
|
显示全部楼层
| ||
发表于 2023-3-7 11:16:57
|
显示全部楼层
| ||
| ||
发表于 2023-3-7 11:30:15
|
显示全部楼层
| ||
| ||
发表于 2023-3-7 11:50:41
|
显示全部楼层
| ||
| ||
发表于 2023-3-7 12:02:14
|
显示全部楼层
| ||
| ||