[Gambas-user] bug in function split?

Frank Berg frankberg at ...390...
Tue Apr 6 06:31:29 CEST 2004


hi

an call like s=split("1 2 3 4"," ") has as result :     s[0]=1 
                                                                        s[1]=2 ....

an call like s=split("1   2    3    4") hast as result s[0]=1 
                                                                        s[1]=
                                                                        s[2]=
                                                                        s[3]=2.....

i mean it is not correct..    

an call like s=split("1   2    3    4") must be in result     s[0]=1 
                                                                                s[1]=2
                                                                                s[2]=3
                                                                                s[3]=4....

frank

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040406/4f734cbe/attachment.html>


More information about the User mailing list