Hi all,
I want to remove all substring marked with '<>'. I have 2 functions:
Dim rEx As New Regexp
rEx.Compile("<.*>")
rEx.Exec(s)
While rEx.Offset >= 0
s = Replace(s, rEx.Text, "")
rEx.Exec(s)
Wend
And
i=Instr(s,"<")
while i > 0
j=InStr(s,">", i)
cut out from s the substring from i to j
i=Instr(s,"<")
wend
Which one should I choose?
Thank you :)
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user