[Gambas-user] convert string to collection

Gianluigi gradobag at gradobag.it
Thu May 4 15:29:11 CEST 2023


Il 04/05/23 14:44, Fabien Bodard ha scritto:
> Dim a as string[]
> For each s in split(s2)
> a=scan(s,"*:*")
> cRet[a[0]]=a[1]
> Next
>
>
> Best regards,
> Fabien
>
Hi Fabien,

Nice code, but I think it needs to be given:
For Each s In Split(s2, "\n", Null, True)

Regards

Gianluigi



More information about the User mailing list