40ants / 40ants/lisp-project-of-the-day
INFO: str:replace-using
Đang mở
- Ngôn ngữ chính
- Common Lisp
- Star
- 55
- Fork
- 6
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hello,
FYI this code:
```
(defun smile->unicode (text)
(arrows:->>
text
(str:replace-all ":)" "😀")
(str:replace-all ":|" "🤨")
(str:replace-all ":(" "🥺")))
```
can now use `str:replace-using` for multi-replacement:
```
(defun smile->unicode (text)
(str:replace-using '(":)" "😀"
":|" "🤨"
":(" "🥺")
text))
```
The function was added on June, 4th.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.