Skip to main content

ContainsBytes

Type

operator

Summary

Determines whether Needle contains Target.

Syntax

<Target> contains <Needle>

Description

note

Since the empty data is a subsequence of every sequence of bytes, every sequence of bytes contains the empty data.

Parameters

NameTypeDescription

Needle

An expression which evaluates to binary data.

Target

An expression which evaluates to binary data.

Value

NameTypeDescription

return

True if the bytes of Needle occur as a subsequence of the bytes of Target, and false otherwise.

Thank you for your feedback!

Was this page helpful?