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

Attachment: split-nul-0.0.1.tar.gz
Description: Binary data

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to