Re: Today's Question - poke a character in a string
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.