strContains

Tests if a string contains a specific substring. Takes str (string to search), substring (substring to find). Returns 1 if substring is found anywhere within str, otherwise returns 0.

String

Parameters & Returns

Parameters

str String
substring String

Returns

Int

Quick Summary

Tests if a string contains a specific substring. Takes str (string to search), substring (substring to find). Returns 1 if substring is found anywhere within str, otherwise returns 0.

Technical Exegesis...

Returns 1 if substring is found anywhere within str, otherwise returns 0. The search is case-sensitive.

Returns 0 if either parameter is null. More efficient than strInstr when you only need to know if a substring exists, not its position.

Example

Example.bam
; No example implemented yet