[Gambas-user] An utility component for Gambas

Julio Sanchez jusabejusabe at ...626...
Mon Dec 1 20:50:37 CET 2014


Benoît:

Yes, my function does not :(

I would like to be implemented

Regards

Julio



2014-12-01 20:36 GMT+01:00 Benoît Minisini <gambas at ...1...>:

> Le 01/12/2014 19:26, Julio Sanchez a écrit :
> > Benoît:
> >
> >> content = Scan(text, "*<div>*</div>*")
> > Yes, function as a "simple" between. But would not work with nestings
> >
> > Example:
> >    Dim arrayStr As String[]
> >    Dim text As String
> >
> >    text = "Hola <div> Bonito <div> gato </div> negro </div>"
> >
> >    ArrayStr = Scan(text, "*<div>*</div>*")
> >
> >    Print arrayStr[1]
> >
> > Return:
> > "Bonito <div> gato"
> >
> >
> > If you respect the nesting would return:
> > "Bonito <div> gato </div> negro"
> >
> >
> > Regards
> > Julio
> >
>
> Your function does not respect the nesting too, doesn't it?
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list