• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Newbie. How to find numbers after....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Scripting E'rage
  • Next by Date: Read b4 return
  • Previous by thread: Re: Scripting E'rage
  • Next by thread: Re: Newbie. How to find numbers after....
  • Index(es):
    • Date
    • Thread