• 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: jmlbeud ceararhtcs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jmlbeud ceararhtcs


  • Subject: Re: jmlbeud ceararhtcs
  • From: Walter Ian Kaye <email@hidden>
  • Date: Sun, 21 Sep 2003 11:05:01 -0700

At 07:49p +0200 09/21/2003, Brennan didst inscribe upon an electronic papyrus:

That's not working for me. It still seems to strip the punctuation. (Also
had to adjust because your 'firstletter' and 'lastletter' are indexes,
whereas mine are single character strings). Still, I can see where you're
coming from.

OK, something more like this, then:

set endPos to 0
set wordLen to 0
set cList to every character of str
repeat with w in (words of str)
set begPos to AtOffset(w, str, endPos + 1)
set wordLen to length of w
set endPos to begPos + wordLen - 1
if wordLen > 2 then
set mixStr to text (begPos + 1) thru (endPos - 1) of str
--do your jumble; set item [whatever] of cList based on pos in str

end if
end repeat
set outstr to cList as string
_______________________________________________
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.

References: 
 >Re: jmlbeud ceararhtcs (From: Brennan <email@hidden>)

  • Prev by Date: Re: [OT] Re: jmlbeud ceararhtcs
  • Next by Date: Re: [OT] Re: jmlbeud ceararhtcs
  • Previous by thread: Re: jmlbeud ceararhtcs
  • Next by thread: Re: jmlbeud ceararhtcs
  • Index(es):
    • Date
    • Thread