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

Re: Split string


  • Subject: Re: Split string
  • From: Walter Ian Kaye <email@hidden>
  • Date: Sun, 14 Mar 2004 01:54:46 -0800

At 11:46a +0100 03/12/2004, Gvtz Verdieck didst inscribe upon an electronic papyrus:

set spg_erdkabel to "400/500 1000"
class of spg_erdkabel -- output: string
set wd2 to word 1 of spg_erdkabel -- output: 300 but I would like to see :
300/500
count words in spg_erdkabel -- output: 3


I don9t understand why / is a so special character in a string ?

Here's an example:

either/or

Is that one word or two?
Do you know of any word which has an embedded / in it?

With your answers to those questions, you should be able to understand why / is considered to be a word separator.

Somewhere in Apple's documentation is a definition of a "word".


-Walter
_______________________________________________
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: 
 >Split string (From: Götz Verdieck <email@hidden>)

  • Prev by Date: Sending data direct to USB in OSX
  • Next by Date: floating point idle delays, 'with timeout' and the date class
  • Previous by thread: Re: Split string
  • Next by thread: Re: Split string
  • Index(es):
    • Date
    • Thread