Guava Splitter class demo

Split String with a delimiter to obtain the array of parts - a common task in programming. Especially when you work on parsing files (like CSV), input streams, etc. Let's take the row of a sample csv file: String csvRow = "desk,,chair,table,couch,"; Notice that it's a bit tricky, since that particular row has second and … Continue reading Guava Splitter class demo