Advertisement
kstoyanov

03. Substring

Jul 16th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function solve(text, startIndex, count) {
  2.  const result = text.substr(startIndex, count);
  3.  console.log(result)
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement