--Copyright 2000 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know. :-)
on findLine whatText, wordNum
repeat with x = 1 to whatText.line.count
if whatText.line[1..x].word.count >= wordNum then
return x
end if
end repeat
return 0
end
on getBehaviorDescription me
return "Returns a line number of a specific word (by number) in a string"
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA