Priyanga SubramaniamString split() method with simple ExampleThe split() method is used to split a string into an array of sub strings with a separator by comma or user defined, and returns the new…Apr 15, 2020Apr 15, 2020