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

Re: Today's Question - poke a character in a string


  • Subject: Re: Today's Question - poke a character in a string
  • From: Andy Wylie <email@hidden>
  • Date: Wed, 31 Jul 2002 21:38:37 +1200

on 7/31/02 7:36 PM +1200: email@hidden wrote:

> 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
>
set (MyLongString's text items)'s item 400 to ">"


_____________________________ Andy
_______________________________________________
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: Paul Skinner <email@hidden>
References: 
 >Today's Question - poke a character in a string (From: email@hidden)

  • Prev by Date: Re: Today's Question - poke a character in a string
  • Next by Date: photoshop 7 and clipping paths
  • Previous by thread: Re: Today's Question - poke a character in a string
  • Next by thread: Re: Today's Question - poke a character in a string
  • Index(es):
    • Date
    • Thread