string::contains

Tests whether the specified string contains the given search string.

Usage

bool string::contains(source, value)

Parameters

Name Type Description
source string The string to search.
value string The string to locate within source.

Return Value

true if value is found in source; otherwise, false.

Remarks

This function performs a case-sensitive word search using the invariant culture.

Examples

Requirements

Assembly: NAnt.Core (0.90.3780.0)