Go to the first, previous, next, last section, table of contents.


findNextSubstring?

Function: findNextSubstring? { string n substring -> found? end start }
file: job.t
package: muf
status: alpha

The findNextSubstring? function accepts a substring atop a string and returns the location of the substring atop a success flag. Search is from n+1 in the string.

Searching from a negative n is the same as searching from zero.

Searching from a too-large n results in a nil success value (not an error).

On a nil success value, start and end are undefined.


Go to the first, previous, next, last section, table of contents.