Skip to main content

ContainsChars

Type

operator

Summary

Determines whether Source contains Needle.

Syntax

<Source> contains <Needle>

Description

Source contains Needle if and only if the chars of Needle occur as a subsequence of the chars of Source.

note

Since "" is a substring of every string, every string contains the empty string.

Parameters

NameTypeDescription

Needle

An expression which evaluates to a string.

Source

An expression which evaluates to a string.

Thank you for your feedback!

Was this page helpful?