Api/minux.findline()

From Minux Wiki
Revision as of 23:52, 3 October 2024 by Shorun (talk | contribs) (Created page with "this function is part of the minux. api and used to see if a specific string is present in a file '''usage:''' local temp = findline(filename,searchstring) '''output:''' if "searchstring" is found in the file, outputs true otherwise outputs false")
(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 = findline(filename,searchstring)


output:

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

otherwise outputs false