Re: TID & text items issue
Re: TID & text items issue
- Subject: Re: TID & text items issue
- From: Luther Fuller <email@hidden>
- Date: Tue, 23 Oct 2012 13:25:10 -0500
On Oct 23, 2012, at 1:00 PM, Christopher Stone wrote: He doesn't want a concatenated string. He wants to break up the non-space strings into a list.
I should have read more carefully. So, you do need a repeat loop, like this ...
set x to " 8 0 0xffffff7f81592000 0x41000 0x41000 com.apple.kec.corecrypto (1.0) "
set AppleScript's text item delimiters to {space} set itemList to {} repeat with i from 1 to (count text items of x) set textItem to (text item i of x) if textItem â "" then set itemList to (itemList & textItem) end repeat
log itemList --> {"8", "0", "0xffffff7f81592000", "0x41000", "0x41000", "com.apple.kec.corecrypto", "(1.0)"}
|
_______________________________________________
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