Api/minux.removestring()

From Minux Wiki
Revision as of 23:55, 3 October 2024 by Shorun (talk | contribs) (Created page with "his function is part of the minux. api and used to remove a string from a file it takes as input a filename (absolute path) and a string to look for the string has to be an exact copy of the full line. '''usage:''' dev.removestring(filename, string) '''output:''' removes the line containing string from filename")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

his function is part of the minux. api and used to remove a string from a file

it takes as input a filename (absolute path) and a string to look for

the string has to be an exact copy of the full line.


usage:

dev.removestring(filename, string)


output:

removes the line containing string from filename