Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function substring(string, startIndex, count) {
- let sub = string.substring(startIndex, startIndex + count);
- console.log(sub);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement