How To Fetch First 10 Characters Of A String In

[Solved] How To Fetch First 10 Characters Of A String In | Perl - Code Explorer | yomemimo.com
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

Answers related to how to fetch first 10 characters of a string in node js

Code Explorer Popular Question For Perl