|
|
|
|
Busca una cadena de caracteres o un buffer en un archivo abierto por fOpen.
MyBuffer is Buffer
FileID is int
MyBuffer = fLoadBuffer("C:\tmp\Page1.html")
FileID = fOpen("C:\test\MyFile.html")
nPosition = fFind(FileID, MyBuffer)
IF nPosition <> -1 THEN
Info("The content of Page1 was found in the file at position " + nPosition)
END
MyBuffer is Buffer
MyHTMLFile is DiskFile
nPosition is int
MyBuffer = fLoadBuffer("C:\tmp\Page1.html")
MyHTMLFile = fOpen("C:\test\MyFile.html")
nPosition = fFind(MyHTMLFile, MyBuffer)
IF nPosition <> -1 THEN
Info("The content of Page1 was found in MyHTMLFile at position " + nPosition)
END
Sintaxis
<Result> = fFind(<File used> , <Search element> [, <Start position>])
<Result>: Integro - Posición del elemento buscado en el fichero.
- -1 si ningún elemento corresponde con la búsqueda.
<File used>: Entero o DiskFile Variable <Search element>: Buffer o cadena de caracteres Buffer o cadena de caracteres cuyo contenido debe encontrarse en el archivo de texto. <Start position>: Entero opcional Posición de inicio para la búsqueda. Con Default, la búsqueda se realiza desde el principio del fichero. Clasificación Lógica de negocio / UI: Lógica de negocio
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|