diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-11-15 01:20:07 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-11-15 01:20:07 +0100 |
commit | 2f6a20240df228e71503c2dc1e3a41e75d50f54b (patch) | |
tree | 7e9347346ccbb697a229d1bfda3fd596ed106aa1 /mew.svnwiki | |
parent | 4e97f590bcf7d039744ba4c8a94a9cda333abbf9 (diff) | |
download | mew-2f6a20240df228e71503c2dc1e3a41e75d50f54b.tar.gz mew-2f6a20240df228e71503c2dc1e3a41e75d50f54b.tar.xz mew-2f6a20240df228e71503c2dc1e3a41e75d50f54b.zip |
add search
Diffstat (limited to 'mew.svnwiki')
-rw-r--r-- | mew.svnwiki | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mew.svnwiki b/mew.svnwiki index b720eb9..03d91c7 100644 --- a/mew.svnwiki +++ b/mew.svnwiki @@ -331,6 +331,13 @@ If {{<obj>}} is a procedure, consider it a SRFI-158 generator and iterate over its values. If {{<obj>}} is a hash-table, iterate over its keys and values. +<procedure>(search <needle> <haystack> <offset>?)</procedure> + +Returns the offset of the sequence (string/list/vector) {{<needle>}} +in the sequence {{<haystack>}}, +starting no earlier than {{<offset>>}} (default: 0). +Returns false if the sequence cannot be found. + == Generators and Accumulators |