get substring from start and end index in js

Solutions on MaxInterview for get substring from start and end index in js by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "get substring from start and end index in js"
Alessandra
17 Aug 2019
1let str = "Hello world!";
2
3str.substring(1, 4)   // Returns "ell"