CSV

Reading and writing CSV files in Groovy.

Groovy CSV Parsing and Generation – 10+ Tested Examples

Groovy CSV parsing and generation with 10+ examples. Split, tokenize, OpenCSV, read/write CSV files, handle headers and special chars on Groovy 5.x. “CSV files are the cockroaches of data formats – they survive everything and show up everywhere. Groovy gives you clean ways to deal with them.” Rob Pike, Notes on Programming in C Last Updated: March 2026 | Tested on: Groovy 5.x, Java 17+ | Difficulty: Beginner to Intermediate | Reading Time: 22 minutes CSV files are everywhere – ... Read More

12 Complete Groovy Split String Examples Every Developer Needs

Learn every Groovy split string method with 12 tested examples. Split by comma, regex, limit, and more. Complete guide for Groovy 5.x. “Splitting a string sounds trivial until you hit the edge cases. Then it becomes the most important string method in your toolkit.” Larry Wall, Programming Perl Last Updated: March 2026 | Tested on: Groovy 5.x, Java 17+ | Difficulty: Beginner to Intermediate | Reading Time: 16 minutes If you’ve ever parsed a CSV file, read command output, or ... Read More