[Gambas-user] Remove Null or Empty items in arrays.
Bruce Steers
bsteers4 at gmail.com
Thu Jun 22 12:16:36 CEST 2023
On Thu, 22 Jun 2023 at 10:32, Christof Thalhofer <chrisml at deganius.de>
wrote:
> Am 21.06.23 um 20:52 schrieb Bruce Steers:
>
> > How about
> > String[].RemoveLike(Pattern As String)
> >
> > Unique to String array like .Join() is but using reg expression to remove
> > pattern matched entries or if Pattern is Null then removes empty ones?
> >
> > That could be useful
>
> I agree :-)
>
> But do we really need it?
>
hmm , the balance between being a useful addition or adding to the bloat.
I think a string/pattern matching remove (or null entry remover) method for
String[] is up there in the "deserves consideration" category at least :)
Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230622/2a345a8f/attachment.htm>
More information about the User
mailing list