Home>split() JavaScript String Method>Edit It: Split the given string at whitespacesEdit It: Split the given string at whitespacesThis code shows how to split a string at whitespaces.See it on StackBlitz