Project

General

Profile

Actions

$bfind » History » Revision 9

« Previous | Revision 9/15 (diff) | Next »
Per Amundsen, 09/18/2020 05:56 AM


Added in 1.9.0

$bfind(&binvar, N, M)

Searches a &binvar for a matching value.

The search is case-insensitive.

Parameters

&binvar - The &binvar to search.
N - The position of the &binvar to start the search.
M - Numeric ASCII character(s) or text to search.

Properties

.text - Force a text search if the search text (M) is a number.
.textcs - Search case-sensitive.
.regex - Performs a regular expression search for the pattern M.

Example

; Finds "test" starting from position 1.
//echo -a $bfind(&test, 1, test)

; Finds character 32 (a space) from position 5.
//echo -a $bfind(&test, 5, 32)

; Finds WAV from position 1.
//echo -a $bfind(&test, 1, 87 65 86)

Updated by Per Amundsen over 4 years ago · 9 revisions

Also available in: PDF HTML TXT