Re: Split string
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>) |