[Gambas-user] Cannot Split() against ASCII NUL byte
Tobias Boege
taboege at ...626...
Mon Aug 5 16:53:57 CEST 2013
Hi,
the Split() function seems to have problems splitting against the ASCII NUL
(aka "\0") byte. In the attached project, there are four test cases from
whose results I assume that Split() stops working on the separator when it
encounters a NUL just if it was a C string. Look especially at the last
test.
I currently work around this issue by using the "tr" program.
Regards,
Tobi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split-nul-0.0.1.tar.gz
Type: application/octet-stream
Size: 5133 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20130805/8d95537a/attachment.obj>
More information about the User
mailing list