Re: Newbie. How to find numbers after....
Re: Newbie. How to find numbers after....
- Subject: Re: Newbie. How to find numbers after....
- From: Michelle Steiner <email@hidden>
- Date: Sun, 27 Jan 2002 18:54:02 -0700
On 1/27/02 5:56 PM, Steen <email@hidden> wrote:
>
Any help with this at will be greatly appreciated.
set x 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."
set w to "WELCOME" & return
considering case
if w is in x then
set z to offset of w in x
set x to text (z + (length of w)) through -1 of x
--routine to look for numbers
else
display dialog "WELCOME not here"
end if
end considering
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------