Challenge: CSV Parser
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 4
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 4.76
Challenge: CSV Parser
Swipe to show menu
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 4
single