summary refs log tree commit diff
path: root/mew.svnwiki
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-11-15 01:20:07 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-11-15 01:20:07 +0100
commit2f6a20240df228e71503c2dc1e3a41e75d50f54b (patch)
tree7e9347346ccbb697a229d1bfda3fd596ed106aa1 /mew.svnwiki
parent4e97f590bcf7d039744ba4c8a94a9cda333abbf9 (diff)
downloadmew-2f6a20240df228e71503c2dc1e3a41e75d50f54b.tar.gz
mew-2f6a20240df228e71503c2dc1e3a41e75d50f54b.tar.xz
mew-2f6a20240df228e71503c2dc1e3a41e75d50f54b.zip
add search
Diffstat (limited to 'mew.svnwiki')
-rw-r--r--mew.svnwiki7
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