Open DASH0070 opened 2 years ago
Input string: Rohan,16,Male,Delhi : String Output Array: [ Rohan, 16, Male, Delhi ] : Array
s : string
arr : array
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