up Inquisit Language Reference

search function

Searches the first string for any occurrence of the second string. If the string is found, it returns the zero based index of the first occurrence. If the string is not found, it returns -1.

Member of

<global>

Syntax

search(s1, s2)

Return Type

number

Parameters

Name Type Description
s1 string The string to be searched.
s2 string The string to search for.

Remarks

Examples


Copyright Millisecond Software, LLC. All rights reserved.