Nucleus handler tools › Docs › Context › RemoveLineInTextFile

Context.RemoveLineInTextFile

Open in the workbench (search, and try it in a handler)

Context.RemoveLineInTextFile(
  path: string | number | boolean,
  lineNum: number
): void
Context.RemoveLineInTextFile(
  path: string | number | boolean,
  lineNum: number,
  encoder: string | number | boolean
): void
Context.RemoveLineInTextFile(
  path: string | number | boolean,
  searchValue: string | number | boolean,
  type: Nucleus.SearchType | number | boolean
): boolean
Context.RemoveLineInTextFile(
  path: string | number | boolean,
  searchValue: string | number | boolean,
  type: Nucleus.SearchType | number | boolean,
  encoder: string | number | boolean
): boolean

Removes a given line number completely.

Category: Files

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop