home *** CD-ROM | disk | FTP | other *** search
- on TextIntoList qText, delimiter
- if not stringp(qText) or (length(qText) = 0) then
- return []
- else
- set oldItemDelimiter to the itemDelimiter
- if not stringp(delimiter) then
- set the itemDelimiter to RETURN
- else
- set the itemDelimiter to delimiter
- end if
- set resultList to []
- repeat with i = 1 to the number of items in qText
- add(resultList, item i of qText)
- end repeat
- end if
- return resultList
- end
-