Next: , Previous: , Up: The Byte Data Library   [Index]


11.9.7 Byte Data String Search Functions

b_find

integer b_find(data d, data e);

is the position of the first occurrence of the e string in the d byte array if any, -1 otherwise

b_scan

integer b_scan(data d, integer p, data e);

is the position of the first occurrence of the e string not preceding the p position in the d byte array if any, -1 otherwise (negative position indications are interpreted with respect to the end of string)

See Negative Indices.

b_seek

integer b_seek(data d, text s);

is the position of the first occurrence of the s string in the d byte array if any, -1 otherwise