Api/minux.findline()

From Minux Wiki
Revision as of 04:15, 4 October 2024 by Shorun (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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