Api/minux.removestring(): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
'''usage:''' | '''usage:''' | ||
minux.removestring(filename, string) | |||
Latest revision as of 04:16, 4 October 2024
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:
minux.removestring(filename, string)
output:
removes the line containing string from filename
returns false if file not found, true if it was