From 8d972987bce577cd8402920d6784ee000fa92053 Mon Sep 17 00:00:00 2001 From: Travis CI <> Date: Sun, 16 May 2021 19:21:25 +0000 Subject: [PATCH] Deploy to GitHub Pages: --- modules/core/string.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/core/string.html b/modules/core/string.html index 0f58ea01..beafcefe 100644 --- a/modules/core/string.html +++ b/modules/core/string.html @@ -199,8 +199,9 @@ count as well.

It is a runtime error if search is not a string.

indexOf(search, start) #

Returns the index of the first byte matching search in the string or -1 if -search was not found, starting a byte offset start. The start can be -negative to count backwards from the end of the string.

+search was not found, starting at byte offset start. The start offset can +also be negative, which will be offset relative to end of the string instead. +Searches forward, from the offset to the end of the string.

It is a runtime error if search is not a string or start is not an integer index within the string’s byte length.

iterate(iterator), iteratorValue(iterator) #