|
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > File > FILE: functions working on files > File_FindText_First |
Description
Function to search text inside a file content.
Syntax
n = File_FindText_First(sFileName, sTextToSearch [, lCaseSensitive])
Returns
Number.
Positive number: byte position where text was found
Zero: text not found
Negative number: technical error
Parameters
Name |
Type |
Optional |
Meaning |
sFileName |
String |
No |
Full File Name of the file to search into. |
sTextToSearch |
String |
No |
Text to search |
lCaseSensitive |
Number |
Yes |
By deafult search is NOT case sensitive. |
Remarks
Restrictions
See also
Examples