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


findPreviousSubstring?

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

The findPreviousSubstring? 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, and proceeds backwards.

Searching from a too-large n is the same as searching from end of string.

Searching from a too-small 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.