neerajnanvani / PracticeGitAndJs

Its an practice repo to create pull request and use more github features
0 stars 10 forks source link

Split a string, using comma as the seprator #30

Open rajat1722 opened 2 years ago

rajat1722 commented 2 years ago

Description: A CSV file is like an excel sheet but in reality, is simply a text file where each row of text represents a record and every row is segregated with commas (,) each field in the row is a property of the record,

Write a function that takes a string as input and splits it into an array using commas.