Error
I'm working with some data in a CSV file where each column is in a fixed position, but each row's population of the data is variable. Meaning, I could have data like this:
I need to be able to rely on the Survey URL always being at index 5, but the built-in Lava filter "Split" by default removes empty entries. So in one row, the URL may be at index 4, and the next it could be at index 5. In the Rock/DotLiquid/StandardFilters.cs file, the Split filter has ".RemoveEmptyEntries" on the returned result.
I would love it if there was a parameter added to the Lava filter where by default it would remove empty entries, but we could have the flexibility to pass a parameter (i.e. RemoveEmpty:'false') into the filter to leave in the empties.
v13 will have an optional parameter to control this behavior: https://community.rockrms.com/lava/filters/text-filters#split
Cultivate your ideas for maximum impact with these helpful submission tips that will increase the chances of your brilliant concepts becoming reality.