• 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
Today's Question - poke a character in a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Today's Question - poke a character in a string


  • Subject: Today's Question - poke a character in a string
  • From: email@hidden
  • Date: Wed, 31 Jul 2002 03:36:47 EDT

I'm working with long strings (400 to 4000 characters),
searching for occurances of specific symbols, such as
double-greater-than (ASCII 200) and replacing them with
greater than symbols.

Is there a way to tell AppleScript to

set character 400 of MyLongString to ">"

instead of going:

set MyLongString to (characters 1 thru (CurrentIndex-1) of MyLongString) &
">" & (characters (CurrentIndex+1) thru end of MyLongString) as string

???

Thanks in Advance
=-= Marc Glasgow

Learning AppleScript: always something new on my daily journey of discovery
of other people's conceptualizations and knowledge.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Today's Question - poke a character in a string
      • From: Andy Wylie <email@hidden>
    • Re: Today's Question - poke a character in a string
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: update images in Quark
  • Next by Date: Re: Any good way to print to PDF on OS X?
  • Previous by thread: Re: Cumulus. Changing an assets path
  • Next by thread: Re: Today's Question - poke a character in a string
  • Index(es):
    • Date
    • Thread