Project

General

Profile

$bfind » History » Revision 2

Revision 1 (Per Amundsen, 02/23/2014 12:29 PM) → Revision 2/15 (Per Amundsen, 02/23/2014 12:29 PM)

_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 - Ascii character(s) character or text to search. 

 *Properties* 

 .text - Force a text search if the search text is a number. 

 *Example* 

 <pre> 
 ;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) 
 </pre>