• 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
zeroing in on a string inside quotes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

zeroing in on a string inside quotes


  • Subject: zeroing in on a string inside quotes
  • From: email@hidden
  • Date: Wed, 28 Nov 2001 18:29:51 EST

I've got a string in an AppleScript variable that I've parsed from a
web-page. It looks like this:

<input type=hidden id="UserId" name="UserId" value="swordfish">

If I wan't to zero in on the word inside the quotes, after the "value=", and
put it in a variable, how could I best do that in AppleScript? My Macromedia
Director Lingo experience is getting in my way on this string-parsing logic.
I'd use some combination of "strpos" and searching for quotes, right?


  • Follow-Ups:
    • Re: zeroing in on a string inside quotes
      • From: Mark Butcher <email@hidden>
    • Re: zeroing in on a string inside quotes
      • From: "Serge Belleudy-d'Espinose" <email@hidden>
  • Prev by Date: AppleScript to react to buttonpress on webpage
  • Next by Date: Re: FTP Uploads using URL Access Scripting (3rd Posting)
  • Previous by thread: Re: AppleScript to react to buttonpress on webpage
  • Next by thread: Re: zeroing in on a string inside quotes
  • Index(es):
    • Date
    • Thread