ICONTAINS

Syntax

ICONTAINS( string, substring )

Description

Case-insensitive version of CONTAINS. Returns TRUE if string contains substring.

Argument types:

  • stringBoolean | Date | Datetime | Fractional number | Geopoint | Geopolygon | Integer | String | UUID
  • substringString

Return type: Boolean

Examples

ICONTAINS("RU0891923", "ru") = TRUE
ICONTAINS("Lorem ipsum", "abc") = FALSE

Data source support

ClickHouse 21.8, Microsoft SQL Server 2017 (14.0), MySQL 5.7, Oracle Database 12c (12.1), PostgreSQL 9.3, YDB.

Previous