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 #19

Open DASH0070 opened 2 years ago

DASH0070 commented 2 years ago

Split the string using comma and push in array

Example

Input string: Rohan,16,Male,Delhi : String Output Array: [ Rohan, 16, Male, Delhi ] : Array

Function Description

Parameters

s : string

Return

arr : array