Api/minux.findline()

From Minux Wiki
Jump to navigation Jump to search

this function is part of the minux. api and used to see if a specific string is present in a file


usage:

local temp = minux.findline(filename,searchstring)


output:

if "searchstring" is found in the file, outputs true

otherwise outputs false