var Str = "Hello There!" var SplitOn = " " var Results = Str.split(SplitOn); //Results[0] will be 'Hello' and Results[1] will be 'There!'