[Gambas-user] Split Function ???

ocoquet ocoquet at 3d-phenomen.fr
Tue Jan 12 15:22:02 CET 2021


Thank's Benoit, for this subject documentation is not clear :)RegardsOlivierEnvoyé depuis mon appareil Galaxy
-------- Message d'origine --------De : Benoît Minisini <g4mba5 at gmail.com> Date : 12/01/2021  14:23  (GMT+01:00) À : user at lists.gambas-basic.org Objet : Re: [Gambas-user] Split Function ??? Le 12/01/2021 à 14:03, Olivier Coquet a écrit :> Hi all,> > I have a problem with Split function.> > If I have a string like this:> > *"Test - test2 - test3 test4"*> > and I split with *" - "* separation string, I obtain> > *"Test" "test2" "test3" "test4"*> > and I want:> > *"Test" "test2" "test3 test4"*> > How can I make this ?> > > regards> > Olivier> > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----> Read the documentation : Split() only splits with one character separators. The separator string " - " actually means " " or "-".To split with any string separator, you have to write your own function.Regards,-- Benoît Minisini----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210112/4456cb07/attachment-0001.htm>


More information about the User mailing list