At 10:00 PM -0500 1/20/11, Mark Lively <[log in to unmask]> wrote :
>set aString to "this. is..a.test"
>set AppleScript's text item delimiters to "."
>set outstring to text items 1 through -2 of aString as text
>--"this. is..a."
>
>The only problem is the case where there is no period in the string.
No problem here, returns a period-shy string without error.