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


findPreviousSubstringCi?

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

The findPreviousSubstringCi? function accepts a substring atop a string and returns the location of the substring atop a success flag. Search is backwards from offset n-1 in string, and ignores case.

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

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

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


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