lucidsoftware / xtract

A library to make it easy to deserialize XML to user types in scala
Apache License 2.0
60 stars 20 forks source link

spaceDelimitedArray reader improvement #29

Closed greatbalin closed 4 years ago

greatbalin commented 4 years ago

It is annoying to always filter out empty strings from spaceDelimitedArray reader output. For example spaceDelimitedArray.read(<xml> a b c </xml>) return Array("", "a", "b", "c"). The first empty string in result array is obviously superfluous.