Ticket #471 (closed enhancement: fixed)
Update split function...
| Reported by: | sdlime | Owned by: | aboudreault |
|---|---|---|---|
| Priority: | high | Milestone: | 6.0 release |
| Component: | MapServer C Library | Version: | 4.1 |
| Severity: | minor | Keywords: | |
| Cc: | aboudreault, dmorissette, warmerdam |
Description (last modified by sdlime) (diff)
From steve: - Fixing behavior of split function (soon to be msStringSplit). At present it ignores consecutive delimeters. This presents a problem with CSV joined tables where ,, actually means a field is empty. I'd like to change the behavior to return an empty string. From dan: - While you're at it, I would like to that you also add an option to honour strings. Actually, there is a function called CSLTokenizeString2() gdal/port/cpl_string.c that does that and more and that you could simply copy after a few small changes.
Change History
Note: See
TracTickets for help on using
tickets.
