contain

Checks if the second argument string is contained in the first argument string.

Category

String

Function syntax

contain(<parameters>)

Parameters

  • string

Signature and returned type

contain(<string>,<string>)

Returns a boolean.

Example

contain("rowing is great', "great")

Returns true.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free