pelegk1
07-24-2003, 09:30 AM
is there in javascript a same function like split in vbscript?
|
Click to See Complete Forum and Search --> : split in vbscript pelegk1 07-24-2003, 09:30 AM is there in javascript a same function like split in vbscript? Phil Karras 07-24-2003, 10:04 AM This too is a JS question, but the answer is yes: var A1 = new array(); var Stn = 'this is a string to be split'; A1 = Stn.split(" "); alert(A1); // will show all words (as array els) sep by "," now webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |