on countFields(myStr, sep) set OriginalDelimiters to AppleScript's text item delimiters set AppleScript's text item delimiters to {sep} set myStr to text items of myStr return count myStr end countFields myStrをsep区切りで項目数を返す
countFields(?)区切りの要素数
トラックバック(0)
トラックバックURL: http://www.adg7.com/mt/mt-tb.cgi/5
コメントする