Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js substring first 4 numbwe

mystring = "9862 ....... -pack size 1 - SST Unspun Label (Roll) CAT#: 9862";

mystring = mystring.substring(0, 4);

alert(mystring.trim());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #substring #numbwe
ADD COMMENT
Topic
Name
4+8 =