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
Tag: parse
Java Date Parse Exception
Post describes maybe a bit niche and low-level problem, however sometimes it happens for me and for others too. The exception is java.lang.NumberFormatException: multiple points and appears during date parsing with SimpleDateFormat