Javascript Split() Function

The split() function of string object split a string into array of string. Use it for example to create array of string from specified strings.

Syntax

Javascript Split() Function Example1

Javascript Split() Function Example2