string-search

Name

string-search -- Search a string

Type: function

Synopsis

string-search( string item, index);

Arguments

string

An instance of <string>.

item

An item for which to search, a <char> or <string>.

offset

The offset in string at which to start searching. Defaults to 0.

Return Values

index

An instance of <fixnum> if found, otherwise #f

Description

This function searches the given string for an occurrence of the item, which may be a string or a character.