String matching: Difference between revisions
→TXR Lisp: Use starts-with, ends-with and iflet.
No edit summary |
(→TXR Lisp: Use starts-with, ends-with and iflet.) |
||
Line 2,965:
((str= big small)
(put-line `@big and @small are equal`))
((
(put-line `@small is a prefix of @big`))
((
(put-line `@small is a suffix of @big`))
(t (
(
(otherwise
(put-line `usage: @(ldiff *full-args* *args*) <bigstring> <smallstring>`)))</lang>
|