Newbie. How to find numbers after....
Newbie. How to find numbers after....
- Subject: Newbie. How to find numbers after....
- From: Steen <email@hidden>
- Date: Mon, 28 Jan 2002 01:56:09 +0100
Hello all
It is me again.
This time I wish to find numbers in some text.
But it is number everywhere in the text.
Therefore I only wish to look for numbers after WELCOME in the text.
My plan was to find the line containing WELCOME.
Then look for numbers to the end of the text.
The only thing I was able to collect was the last line.
set w to count every paragraph in someText
(and I probably don9t need this?)
Set someText to "I live in Norway. The number is 23.
I look out of my window, it is snowing. Jada jada 243
WELCOME
It is after hello I wish to look up for numbers.
23 456 23 3 and 12345 is not my numbers.
we got lot of text here, but I think I end for now."
(this is how I think it should bin done)
if (word = "WELCOME" in someText ) then
Look for numbers
if number found beep
-end if
Any help with this at will be greatly appreciated.
Steen