Javascript Function Code to Split String at Random Space and Return 2 Part Array

Javascript Function Code to Take a String, Such as a Paragraph or Article, and Split into 2 Parts Splitting at a Random Space, Returning the 2 Parts of the JS Array

Home Short:

The following Javascript function takes any length string and splits it into a 2 part array with the split occuring at a random space within the text.

S
H
A
R
E