Yup, funnily i just found and fixed that same issue for RTL2; will need to apply the same fix to SwiftBaseLibrary. currently SBL just passes thru to java.String.split(), which unfortunately drops off empty items at the end :(.
Actually, i can only fix this for SwiftString (which is not active yet on SBL to act as the main String type). Swift.String currently is just an alias for the platform-native string types, so it has no choice but to use the platform’s implementation of split() :(.
Workaround, use latest SBL from GitHub once my fix is committed, and convert to a SwiftSting and call split() on that. In a future update of Elements and SBL, SwiftString will drop in to become the default string type when using SBL — but it’s not quite ready for that yet.