Challenge: CSV Parser
Taak
Swipe to start coding
Write a function that takes a string of comma-separated values, trims spaces from each value, and prints each value on a new line.
- Split the input string
csvLineinto parts using the comma character. - Trim spaces from each part.
- Print each trimmed value on a new line.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 4
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Geweldig!
Completion tarief verbeterd naar 4.76
Challenge: CSV Parser
Veeg om het menu te tonen
Taak
Swipe to start coding
Write a function that takes a string of comma-separated values, trims spaces from each value, and prints each value on a new line.
- Split the input string
csvLineinto parts using the comma character. - Trim spaces from each part.
- Print each trimmed value on a new line.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 4
single