how to split character in javascript code example
Example 1: javascript separate string by char
var Str = "Hello There!"
var SplitOn = " "
var Results = Str.split(SplitOn);
//Results[0] will be 'Hello' and Results[1] will be 'There!'
Example 2: how to split a string in javascript
strName.split(); // My code