Question : how to fetch first 10 characters of a string in node js
Answered by : shravani
var str = '12345678value';
var strshortened = str.slice(0,8);
Source : | Last Update : Sat, 27 Feb 21
Answered by : shravani
var str = '12345678value';
var strshortened = str.slice(0,8);
Source : | Last Update : Sat, 27 Feb 21