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)

Parameters

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

Examples


Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.