o_CompareFromToWithTwoByteStringStartingAt

open override fun o_CompareFromToWithTwoByteStringStartingAt(self: AvailObject, startIndex1: Int, endIndex1: Int, aTwoByteString: A_String, startIndex2: Int): Boolean

Compare a subrange of the receiver with a subrange of the given two-byte string. The size of the subrange of both objects is determined by the index range supplied for the receiver.

Return

true if the contents of the subranges match exactly, false otherwise.

Parameters

self

The receiver.

startIndex1

The inclusive lower bound of the receiver's subrange.

endIndex1

The inclusive upper bound of the receiver's subrange.

aTwoByteString

The two-byte string used in the comparison.

startIndex2

The inclusive lower bound of the two-byte string's subrange.

See also