[Gambas-user] Remove Null or Empty items in arrays.

Christof Thalhofer chrisml at deganius.de
Wed Jun 21 20:08:12 CEST 2023


Am 21.06.23 um 18:37 schrieb Martín:

> I like this code you propose, thank you.
> But I was wondering, since there is .Shuffle or .Sort, maybe it would be 
> a good idea to have .RemoveEmpty.

No. :-)

Because 'RemoveEmpty' is actually a specialization of 'Remove'. Why then 
not also 'RemoveNegative', 'RemoveEveryStringStartingWith', etc.?

Alles Gute

Christof Thalhofer

-- 
[x] nail here for new monitor


More information about the User mailing list