AppleScript名:テキストを指定文字でparseする |
— Created 2018-02-03 20:21:16 +0900 by Takaaki Naganoya — 2018 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" set a to current application’s NSString’s stringWithString:"4;1;2008-03-09 18:57:48;2008-03-09 09:57:48;" set b to a’s componentsSeparatedByString:";" –> (NSArray) {"4", "1", "2008-03-09 18:57:48", "2008-03-09 09:57:48", ""} |
More from my site
(Visited 20 times, 1 visits today)