Re: Missing ampersand
Re: Missing ampersand
- Subject: Re: Missing ampersand
- From: Yvan KOENIG <email@hidden>
- Date: Fri, 24 Mar 2017 17:07:30 +0100
Le 24 mars 2017 à 16:33, Jeremy Roussak < email@hidden> a écrit :
If I write
words of (“eric v smith & jones”)
I get
{"eric", "v", “smith", “jones”}
Where’s my ampersand gone? What am I doing wrong?
The character ampersand is not a word.
You may achieve your goal with :
set theItems to my decoupe("eric v smith & jones", space)
#=====
on decoupe(t, d) local oTIDs, l set {oTIDs, AppleScript's text item delimiters} to {AppleScript's text item delimiters, d} set l to text items of t set AppleScript's text item delimiters to oTIDs return l end decoupe
#=====
Yvan KOENIG running Sierra 10.12.3 in French (VALLAURIS, France) vendredi 24 mars 2017 17:07:25
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden