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

Fabien Bodard gambas.fr at gmail.com
Fri Nov 24 19:13:14 CET 2023


you can do this if you use split a lot :


Static Sub Split(Value as String, optional param1, param2)  as String1
  dim aRet as String1 = split(Value, param1, param2)
  return aRet
end

the use :

hString1 = String1.Split(MyString)


Le ven. 24 nov. 2023 à 18:45, Martín <mbelmonte at belmotek.net> a écrit :

> El 24/11/23 a las 17:33, Fabien Bodard escribió:
> > In the other hand why are you not using you own derivated type
>
> Yes, I will use my own derivation is the optimal way :-).
>
> Thanks to everyone.
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>


-- 
Fabien Bodard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231124/f23938d7/attachment.htm>


More information about the User mailing list