parse punctuation with text
I need to get all text and punctuation from text, 24 words at a time.
This gets 24 words at a time, in 3 separate variables, but not "," and "."
Any ideas.
tell application "Finder"
set y to 1
set sect1 to ""
set sect2 to ""
set sect3 to ""
set x to "Do not lie to one another, seeing that you have put off the old self with its practices and have put on the new self, which is being renewed in knowledge after the image of its creator. Here there is not Greek and Jew, circumcised and uncircumcised, barbarian, Scythian, slave, free; but Christ is all, and in all. Put on then, as God's chosen ones, holy and beloved, compassionate hearts, kindness, humility, meekness, and patience, bearing with one another and, if one has a complaint against another, forgiving each other;"
repeat 24 times
set sect1 to sect1 & word y of x & " "
set y to y + 1
end repeat
set y to 25
repeat 24 times
set sect2 to sect2 & word y of x & " "
set y to y + 1
end repeat
set y to 49
repeat 24 times
set sect3 to sect3 & word y of x & " "
set y to y + 1
end repeat
display dialogsect1 & return & return & sect2 & return & return & sect3
end tell