substring vs substr in Vue.js