[Gambas-user] How to extend the String[] class ??

Martín mbelmonte at belmotek.net
Thu Nov 23 10:58:33 CET 2023


Hi,

I wan to extend the String[] class, I wan to add a method to remove all 
the strings where its length = 0

I have this:

aRecipes["Risotto", "", "Pascualina", "Focaccia"]

I want this:

aRecipes["Risotto",  "Pascualina", "Focaccia"]

I wan to add to the method class in order to use like .Sort Metod.

aRecipes = aRecipes.Vaccum( False )

Regards.

Martin.



More information about the User mailing list