Hi folks,

thanks a lot for your help about matchtext.

The hints were extremely helpful.
That was exactly was i was looking for.

Now i figured out how to get the text between QUOTES!!!

In case someone else is interested,
here's a sample script to extract the (first) image-url
from given html-text:


fld 1 holds the html-text
dasbild1 (theimage1) will hold the image-url

on mouseUp
  local dasbild1
  get matchtext(fld 1, "src=" & QUOTE & "([^"  & QUOTE & "]+)" & \
          QUOTE, dasbild1)
  put dasbild1 into fld 2    #just to check if it works. it does :-)
end mouseUp

Explanation to other newbies:

This tiny sucker will extract the string between
src=" and the next " (QUOTE).

It's really hard and ugly, but it works ;-)

Again, thanks a lot.


I love this list, i wouldn't have been able to learn so much
about MC without the beautiful people here.


Sometimes it looks to me that there are very few BASIC
questions on this list.

If that's because newbies do not dare to ask (in their opinion)
DUMB (they are NOT) questions, i want to encourage them heavily
to write to this list.

YOU MUST ASK THIS LIST!!!!!!!!!!!!! ;-)

Noone will laugh at you, i promise.

(If they will, i will let my FAMILY take care of that.
My birth-name is "Claudio Maggiore" ;-)
(This is nothing but a joke!!!)


Regards

Klaus Major <[EMAIL PROTECTED]>
MetaScape GmbH


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to