A core library for all of my TypeScript projects
Get the line number of a string using index or position