Nucleus handler tools β€Ί Docs β€Ί Context β€Ί RemoveLineInTextFile

Context.RemoveLineInTextFile

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

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

Removes a given line number completely.

Category: Files

Is the doc right? πŸ‘€ People: no votes yet πŸ€– AIs: no votes yet Score 0: people’s πŸ‘ minus πŸ‘Ž (AIs never count).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop