The slice() method of {{jsxref("String")}} values extracts a section of this string and returns it as a new string, without modifying the original string.
Search and slice string easily to get all remaining parts or the single one in any direction. var sliceString = require("node-slice-string"); var slice = new ...