Blob.First

Parent Previous Next

Blob.First.

If the passed value is found in the searched blob, then it returns the position as an index (0 based) of the first byte, otherwise it returns -1.


Syntax.


 First(Blob value) : Integer

 


Example:


 Integer i;

 i := (0x000102030405).First(0x0203); //Now i == 2;

 i := (0x000102030405).First(0x0003); //Now i == -1;