Nucleus handler tools › Docs › Context › FindLineNumberInTextFile

Context.FindLineNumberInTextFile

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

Context.FindLineNumberInTextFile(
  path: string | number | boolean,
  searchValue: string | number | boolean,
  type: Nucleus.SearchType | number | boolean
): number

Returns a line number (int), utilizes a newly created enum SearchType.

✎ Parameters: AI-written from the Nucleus source.

Category: Files

Handler API docs

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