Clib.memchr()
syntax: |
Clib.memchr(buf, chr[, maxLen]) |
where: |
buf - buffer or byte array to search.
chr - character to search for.
maxLen - maximum number of bytes to search.
|
return: |
buffer - beginning in array with the character found, else null if not found.
|
description: |
This method searches a buffer, a byte array, or a Blob, and returns a variable indicating or beginning with the first occurrence of chr. If the parameter maxLen is not specified, the method searches the entire array from element zero.
|
see: |
|